Shifting breakpoint during debugging
Shenniey opened this issue · 0 comments
Shenniey commented
When creating a Typescript (not Javascript) Basic Azure Node.js Express 4 Application project in Visual Studio, setting a breakpoing on line 8 gets shifted to line 9 after starting debugging.
Repro steps (for Visual Studio):
- Create a TS Basic Azure Node.js Express 4 Application project (Wait for "npm install" to finish)
- Open "routes\index.ts" file and set a breakpoint ( in gif below, breakpoint is set on line 8: res.render('index', { title: 'Express' });
- F5 to start debugging
Result: breakpoint shifts
Copying the same project folder to VsCode also produces the same moving breakpoint. The breakpoint moves back to original position when debugging stops.