Created
September 24, 2024 14:59
-
-
Save lharby/1a06cd9a1c066172da43acf6015bd1fa to your computer and use it in GitHub Desktop.
Bookmarklet to initialise a debugger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A bookmarklet to init a debuuger after X seconds | |
* You can use https://caiorss.github.io/bookmarklet-maker/ to turn this into a minified bookmarklet | |
*/ | |
/** | |
* Open the console and run this bookmarklet | |
* It will wait 2 seconds and then initialise the debugger | |
*/ | |
setTimeout(() => { | |
debugger; | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment