As Barry mentions, debugging with _PS_DEBUG_ panels is not very productive. It can be done, but once you start developing complex scripts, Having the ability to have a PC program running that can display the information makes development of complex scripts MUCH easier.
Now that we can fully discuss the System.setDebugMask() function, to reiterate a previous post.
Current known allowed values: 0 - Off - No output 4 - Trace-Level output by line # 9 - Forward All System.print() calls to external high-speed serial output.
Not sure if this is indeed really a "Mask" as 9 is actuall 8 or'ed with 1.
System.setDebugMask(1) appears to have no noticeable affect.
Also note that this does indeed require you to modify your Docking Station. If you are uncomfortable with this, I'm willing to do this for a nominal charge. Send me RC Mail if interested.
The TSU9400 may support this capability but as there's no USB-passthrough on the dock, one would need to add a jack to the back of the remote itself. This is something that I do NOT recommend for the casual user.