vscode: All breakpoints are unverified

  • VSCode Version: 1.28
  • Node Version: 10.12
  • OS Version: Windows 10 1803
  • Using Typescript: No
  • Using Webpack: No

Launch configuration

{
  "type": "node",
  "request": "launch",
  "name": "Launch Program",
  "useWSL": true,
  "program": "${workspaceFolder}\\index.js"
}

Steps to Reproduce:

  1. Add breakpoint which appears as a red filled circle
  2. Launch with above configuration
  3. Breakpoint turns to gray outline with hover of ‘Unverified breakpoint’
  4. Insert debugger; statement in code
  5. File opens with subtitle ‘read-only core module’ in the titlebar
  6. Add breakpoint to this read-only file. This breakpoint works as expected
  7. Remove debugger; statement in editable source file
  8. Add functioning breakpoints in the read-only file as required. They all work perfectly.

Line of Examination:

  1. Disabling sourceMaps in the launch configuration didn’t work
  2. "localRoot": "${workspaceFolder}" and "remoteRoot": "C:\\Users\\user\\folder" did nothing. Code still opens in separate read-only file
  3. Opening entire folder in Ubuntu and running launch as-is works perfectly. No issue with breakpoints at all.

I have been struggling with this issue since at least July 2018 without finding a working solution. I would be very grateful for help, since I have to go back to inserting console.log statements all over my code.

Does this issue occur when all extensions are disabled?: Yes

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 26 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Ok there seems to be a separate issue with WSL separate from the space issue, I’ll have to try it out.