calling debugger on demand