Removing the debugging when you're done

There is now no need to remove the debugging.

Unless you click the "Toggle Debug" link, then it is invisible.

Questions and answers:

Q1.
Wouldn't it be better not to collect the debug information when debugging is off?
A1.
Probably not. If your code encounters a fatal error condition, it can set a flag which causes the debug information to come out anyway So when the user reports the problem, and sends you a screenshot, you will have a traceback of what happened.
Q2.
Is it possible to trace external functions/subroutines as well?
A2.
Yes. read on!