How to install and debug a target flow switch?