some modification for developer tools debugger example