Adding debug mode for test runner