microsoft/vscode-chrome-debug-core

Shifting breakpoint during debugging

Shenniey opened this issue · 0 comments

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):

  1. Create a TS Basic Azure Node.js Express 4 Application project (Wait for "npm install" to finish)
  2. Open "routes\index.ts" file and set a breakpoint ( in gif below, breakpoint is set on line 8: res.render('index', { title: 'Express' });
  3. F5 to start debugging

Result: breakpoint shifts

actualnodets

Copying the same project folder to VsCode also produces the same moving breakpoint. The breakpoint moves back to original position when debugging stops.