Quantcast
Channel: In the VS Code "Debug Console", run a JavaScript await function - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Answer by huntharo for In the VS Code "Debug Console", run a JavaScript await...

@jonas-wilms has the right idea in a comment on the original question.@andrej-k has a great point to the fact that the event loop is paused.Putting those together, here is how you get the output from...

View Article


Answer by Andrej K for In the VS Code "Debug Console", run a JavaScript await...

VS Code Debug Console supports top level async/await (https://github.com/microsoft/vscode-js-debug#top-level-await) however the issue might be you're paused on the breakpoint.if you use await while...

View Article


In the VS Code "Debug Console", run a JavaScript await function

In the VS Code "Debug Console", I can evaluate expressions on my code in the middle of a debugging session when debugging my JavaScript code, including running my functions. However, I seem to be...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>