4 ms·
It uses synchronous XHR to load the JS-File. Then evals the JS-String. This is great, but I could not figure out debugging my loaded code with this solution.
by julius 16y ago
It uses synchronous XHR to load the JS-File. Then evals the JS-String.
This is great, but I could not figure out debugging my loaded code with this solution.
Any ideas ?
- arthurschreiber 16y agoFirebug and the WebKit Inspector allow you to set breakpoints by just putting "debugger;" where you want to jump into debugging.
- julius 16y agoThanks. I did not know that. The problem of getting stacktraces for errors remains. UPDATE: Just tested in Safari. I get nice stacktraces there. Its only a problem in Chrome.