support for long / asynchronous call stacks in Node.js debugger #7507
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
feature-request
Request for new features or functionality
code --version
-> 1.3.0-insiderSteps to Reproduce:
start with this code
set a breakpoint on the
throw
, and debug in VSCode (as a Node.js project)debug this in Chrome, with DevTools, with "Async" checked (near the Call Stack and Breakpoints lists)
Whilst researching this, I did come across a similar feature request for node-inspector:
Being able to easily trace the asynchronous flow leading up to an exception (or a breakpoint) is an incredibly powerful tool in the JavaScript developer's arsenal.
It is interesting to note that this is not on by default in Chrome DevTools. Perhaps having this on all the time has considerable performance ramifications? I've had "Async" checked ever since it was announced, but I can imagine a release that turns this on by default could be met with developer confusion / frustration.
Would following Chrome's lead here and just providing a checkbox (or a flag in the debug configuration JSON) be the best initial approach?
The text was updated successfully, but these errors were encountered: