In your scripts, put your test echos as follows:
debugEcho("canSalve beginning", "curing")
^ Just an example. Most of the debug echos for my curing system that I want to keep (since I am undoubtedly going to have bugs with it in the future) I give the debug label 'curing'.
Whenever I have a problem curing, I type: "debug curing on" and a bunch of useful debug echos will show next time I attempt to cure anything.
At the moment it is pretty primitive, but I decided to post this partly because I find it really useful, but also because I'm hoping someone else might have ideas on how to make it better. If you have a suggestion on how a debug system ought to be, please post and I'll probably make the changes.
Also, the function name could be better. It used to be decho() but I changed it when decho became claimed by Mudlet.