Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: Debugger not behaving correctly when using "vm" module [652]

$
0
0
When using the "vm" module the debugger is not correctly hitting the breakpoints. If a breakpoint is set using the debugger statement you are taken to the correct place in the code only the first execution. Afterwards an empty <unknown> "file" is displayed.
The name of the file is specified as a parameter for the vm module like so:

```
vm.runInContext(fileContents, contextObj, fileName);
```

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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