You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hey! First off, I love this tool! Long time user, don't know how I'd get by without it.
I'm trying to debug an eslint plugin in the explorer, but the infinite loop checks make that impossible. It looks like they add a time check in the body of every function and loop, and these always get triggered while debugging, making it almost impossible. I'd be great if there was a checkbox or something to disable this, or maybe if there was a way to detect that devtools are open and the code contains a debugger statement then disable?
To Reproduce
Steps to reproduce the behavior:
Parser: babel-eslint
Transform: ESLint v8
Open up devtools
Write some code in the bottom left panel with a debugger statement
module.exports={meta: {messages: {error: 'How do I debug??',},},create(context){return{FunctionDeclaration(node){debugger;// try stepping into this loop, you'll hit the infinite loop detectionfor(leti=0;i<100;++i){console.log('something')}}}}
Try to step through
Expected behavior
I'd expect to be able to debug this code instead of running into infinite loop detection.
Screenshots
N/A
Browser (please complete the following information):
OS: macos
Browser: Chrome
Version: 102.0.5005.115
astexplorer settings:
Selected parser: babel-eslint
Selected transformer (if applicable): ESLint v8
Contents of the local storage key explorerSettingsV1 (code can be removed if you don't want it to be public)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Hey! First off, I love this tool! Long time user, don't know how I'd get by without it.
I'm trying to debug an eslint plugin in the explorer, but the infinite loop checks make that impossible. It looks like they add a time check in the body of every function and loop, and these always get triggered while debugging, making it almost impossible. I'd be great if there was a checkbox or something to disable this, or maybe if there was a way to detect that devtools are open and the code contains a
debugger
statement then disable?To Reproduce
Steps to reproduce the behavior:
debugger
statementExpected behavior
I'd expect to be able to debug this code instead of running into infinite loop detection.
Screenshots
N/A
Browser (please complete the following information):
astexplorer settings:
explorerSettingsV1
(code can be removed if you don't want it to be public)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: