remove the dependency on debugger