Skip to content

Instantly share code, notes, and snippets.

@greyaperez
Created July 13, 2017 18:21
Show Gist options
  • Save greyaperez/466f5d7fddf29ebe35d66a7b7f289592 to your computer and use it in GitHub Desktop.
Save greyaperez/466f5d7fddf29ebe35d66a7b7f289592 to your computer and use it in GitHub Desktop.
Auto Debug JS (Regex Replace) - Automatically inserts
// FIND REGEX
(\s+)\w+ (\w+)\(.*\).*{
// REPLACE
$0\n$1 console.log('METHOD:: $2 Invoked');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment