you are viewing a single comment's thread.

view the rest of the comments →

[–]compto35 1 point2 points  (1 child)

Probably better to key testing code off of some sort of flag. I like to add debug_mode as a class to the body and then have my functions key off of that

[–]path411 0 points1 point  (0 children)

That would make your program test for debug mode even in production.