Skip to content

Debugger Step Out / Step Out crashes into internal Promise files in Node 24.14.1 and 25.9.0 #62765

@MatthewMonti

Description

@MatthewMonti

Version

24.1.1 and 25.9.0 both have issue step

Platform

Start debugger: node --inspect-brk app.js
Open Chrome DevTools: chrome://inspect
Step Into (F11) the addNumbers() function ✅ works
Step Out (Shift+F11) from function ✅ prints 15
Step Out again ❌ crashes into node:internal/process/promises:453

Subsystem

No response

What steps will reproduce the bug?

Title:
Debugger protocol regression in Node 24.14.1 - Step Out crashes into internal/process/promises

Description:

Node Version: 24.14.1
OS: [Your OS]

Problem:
Step Out operation in debugger crashes and jumps into Node internal Promise files instead of returning to user code.

Minimal Reproduction:
// app.js
function addNumbers(a, b) {
return a + b
}
let z = addNumbers(5, 10);
console.log(z)

Command: node --inspect-brk app.js

  1. Open chrome://inspect
  2. Step Into addNumbers() ✅
  3. Step Out ✅ (prints 15)
  4. Step Out again ❌ CRASHES into node:internal/process/promises:453

Affected Debuggers:

  • VSCode debugger
  • Chrome DevTools
  • Edge DevTools

Workaround:
None found. Works in Node 22 LTS.

Expected:
Step Out should return to next line of user code.

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

Title:
Debugger protocol regression in Node 24.14.1 - Step Out crashes into internal/process/promises

Description:

Node Version: 24.14.1
OS: [Your OS]

Problem:
Step Out operation in debugger crashes and jumps into Node internal Promise files instead of returning to user code.

Minimal Reproduction:
// app.js
function addNumbers(a, b) {
return a + b
}
let z = addNumbers(5, 10);
console.log(z)

Command: node --inspect-brk app.js

  1. Open chrome://inspect
  2. Step Into addNumbers() ✅
  3. Step Out ✅ (prints 15)
  4. Step Out again ❌ CRASHES into node:internal/process/promises:453

Affected Debuggers:

  • VSCode debugger
  • Chrome DevTools
  • Edge DevTools

Workaround:
None found. Works in Node 22 LTS.

Expected:
Step Out should return to next line of user code.

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

Title:
Debugger protocol regression in Node 24.14.1 - Step Out crashes into internal/process/promises

Description:

Node Version: 24.14.1
OS: [Your OS]

Problem:
Step Out operation in debugger crashes and jumps into Node internal Promise files instead of returning to user code.

Minimal Reproduction:
// app.js
function addNumbers(a, b) {
return a + b
}
let z = addNumbers(5, 10);
console.log(z)

Command: node --inspect-brk app.js

  1. Open chrome://inspect
  2. Step Into addNumbers() ✅
  3. Step Out ✅ (prints 15)
  4. Step Out again ❌ CRASHES into node:internal/process/promises:453

Affected Debuggers:

  • VSCode debugger
  • Chrome DevTools
  • Edge DevTools

Workaround:
None found. Works in Node 22 LTS.

Expected:
Step Out should return to next line of user code.

What do you see instead?

Title:
Debugger protocol regression in Node 24.14.1 - Step Out crashes into internal/process/promises

Description:

Node Version: 24.14.1
OS: [Your OS]

Problem:
Step Out operation in debugger crashes and jumps into Node internal Promise files instead of returning to user code.

Minimal Reproduction:
// app.js
function addNumbers(a, b) {
return a + b
}
let z = addNumbers(5, 10);
console.log(z)

Command: node --inspect-brk app.js

  1. Open chrome://inspect
  2. Step Into addNumbers() ✅
  3. Step Out ✅ (prints 15)
  4. Step Out again ❌ CRASHES into node:internal/process/promises:453

Affected Debuggers:

  • VSCode debugger
  • Chrome DevTools
  • Edge DevTools

Workaround:
None found. Works in Node 22 LTS.

Expected:
Step Out should return to next line of user code.

Additional information

No response

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