delete debugger function