Файли
openidea/docs
LU XIANGRUIтаwildcatDownstairs 0155d74084 feat(debugger): reconnect Attach to Node.js automatically when the process restarts (#6103)
Attach to Node.js ended the debug session as soon as the inspected process exited, so with nodemon, node --watch or tsx watch the attach had to be restarted after every save. The configuration gets Reconnect automatically, which passes js-debug's `restart: true`. js-debug waits for the inspector to come back and attaches the new process as a new child session with the same breakpoints. While it waits, the Frames pane says so. The restarted process's tab replaces the finished one and keeps its console output. VS Code attach configurations with `restart` (true or a policy object) import with the option on.

Closes #6084

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-27 00:32:02 +08:00
..