↧
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 ArticleAnswer 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 ArticleIn 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