Restore debug options
Fix the debug option to work in testRunner