Simplify debug.

Enabling debugging is now possible without having to modify the code.