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
When running a simple Typescript script via a NPM task, breakpoints do not jump at the beginning of the execution. To emphasize this even more, I wrote a very small program that exists pretty quickly, and in it no breakpoint is jumped at all.
I suspect that, because js-debug attaches to child processes via NODE_OPTIONS injecting of a debugger script, that the script executes too quick for the debugger to actually place the breakpoints.
The filter was missed in unit testing and didn't actually work correctly. In most cases this didn't lead to a visible failure, but this fixes it.
Fixes#1704
…#1714)
The filter was missed in unit testing and didn't actually work correctly. In most cases this didn't lead to a visible failure, but this fixes it.
Fixes#1704
I'm able to hit the breakpoint if I add it to the built app.js file. If I add it to app.ts, nothing happens, even if I then include the sleep-like for loop in the code. Is that expected? @connor4312.
Describe the bug
When running a simple Typescript script via a NPM task, breakpoints do not jump at the beginning of the execution. To emphasize this even more, I wrote a very small program that exists pretty quickly, and in it no breakpoint is jumped at all.
I suspect that, because js-debug attaches to child processes via
NODE_OPTIONS
injecting of a debugger script, that the script executes too quick for the debugger to actually place the breakpoints.To Reproduce
The following
app.ts
code:With the following run configuration:
And from
package.json
:VS Code Version: VSCode 1.78.1, Plugin: v1.78.0
The text was updated successfully, but these errors were encountered: