Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Node.js v23.2.0: Breakpoints not binding in VS Code debugger #55948

Copy link
Copy link
@carlmattsimpao

Description

@carlmattsimpao
Issue body actions

Version

v23.2.0

Platform

Microsoft Windows NT 10.0.19045.0 x64

Subsystem

Node.js Debugger (V8 Inspector)

What steps will reproduce the bug?

Install Node.js v23.2.0

Create a simple JavaScript file:

test() {
    console.log("test");
    console.log("test2");
}
test();
  • Set breakpoints in VS Code
  • Start debugging session using VS Code's built-in JavaScript debugger
  • Observe that breakpoints are not hit

How often does it reproduce? Is there a required condition?

Reproduces 100% of the time with Node.js v23.2.0. Issue does not occur with v23.1.0.

What is the expected behavior? Why is that the expected behavior?

Debugger should pause execution at set breakpoints, allowing inspection of program state.

What do you see instead?

Program runs without stopping at breakpoints. Breakpoints appear hollow/unfilled in VS Code, indicating they are not binding to the code.

Additional information

  • Downgrading to Node.js v23.1.0 resolves the issue
  • Using standard VS Code debugging configuration:
{
    "type": "node",
    "request": "launch",
    "name": "Debug Program",
    "skipFiles": ["<node_internals>/**"],
    "program": "${workspaceFolder}/test.js"
}

VSCode:

Version: 1.95.3 (user setup)
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

JMTK, korodarn, Mauriverti, DawidB, songololo and 4 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.