Skip to content

f8k8/VSIssue531237

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSIssue531237

Reproduction of Visual Studio issue 531237

Steps to reproduce:

  1. Clone this repository
  2. Run npm install in the /VSIssue531237 project folder
  3. Open the solution in VS2017 and add a breakpoint on the console.log('Hello world'); line of index.js
  4. Start debugging

Instead of the breakpoint being hit in index.js, a breakpoint is hit in node_modules/axios/dist/axios.js instead, as the debugger incorrectly determines that axios.js should be the startup script instead of index.js, as seen in the output in vscode-node-debug2.txt:

Launch: program 'D:\Projects\VSIssue531237\VSIssue531237\index.js' seems to be the source; launch the generated file 'd:\Projects\VSIssue531237\VSIssue531237\node_modules\axios\dist\axios.js' instead

About

Reproduction of Visual Studio issue 531237

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published