Created
October 3, 2024 20:21
-
-
Save alpenzoo/32530da765fe14826db835dc26dbf16d to your computer and use it in GitHub Desktop.
JS debugging options: 1. naming your script; 2. Chrome to open your script in the debugger by adding debugger; statement in your script and reloading the page with Dev Tools open. Once this line is hit your code will be opened in the 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
<script> | |
... | |
debugger; | |
... | |
//# sourceURL=name_this_script.js | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment