Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

debugger: deprecate built-in debugger #6507

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion doc/api/debugger.markdown
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Debugger

Stability: 3 - Stable
Stability: 0 - Deprecated

<!-- type=misc -->

Note: the built-in debugger is deprecated. No new features will be added, bug
fixes will be applied sparingly if at all. Longer term, it will be moved out
of node.js core and into a separate npm module.

V8 comes with an extensive debugger which is accessible out-of-process via a
simple [TCP protocol](http://code.google.com/p/v8/wiki/DebuggerProtocol).
Node has a built-in client for this debugger. To use this, start Node with the
Expand Down
3 changes: 3 additions & 0 deletions lib/_debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ exports.start = function(argv, stdin, stdout) {
process.exit(1);
}

console.error('* The debugger is unsupported in this release.\n' +
'* Please see http://nodejs.org/docs/latest/api/debugger.html');

// Setup input/output streams
stdin = stdin || process.stdin;
stdout = stdout || process.stdout;
Expand Down
124 changes: 0 additions & 124 deletions test/pummel/test-debug-break-on-uncaught.js

This file was deleted.

80 changes: 0 additions & 80 deletions test/pummel/test-debugger-repl-break-in-module.js

This file was deleted.

149 changes: 0 additions & 149 deletions test/simple/helper-debugger-repl.js

This file was deleted.

Loading