Skip to content

Instantly share code, notes, and snippets.

@brettcvz
Last active December 13, 2015 21:08
Show Gist options
  • Save brettcvz/4974524 to your computer and use it in GitHub Desktop.
Save brettcvz/4974524 to your computer and use it in GitHub Desktop.
Using debugger in javascript
(function(){
var time = +new Date;
//no idea what that did, let's check it out
debugger;
//Pretty cool - you can modify the local variables as well via the web inspector
alert(time);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment