Remove debugger ref