mirror of
https://github.com/nodejs/node.git
synced 2025-05-10 11:50:36 +00:00

The `node debug` command has been deprecated for a while now. There's really no good reason to keep it around. Move to end of life. PR-URL: https://github.com/nodejs/node/pull/33648 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>
18 lines
323 B
JavaScript
18 lines
323 B
JavaScript
'use strict';
|
|
|
|
// `node inspect ...` or `node debug ...`
|
|
|
|
const {
|
|
prepareMainThreadExecution
|
|
} = require('internal/bootstrap/pre_execution');
|
|
|
|
prepareMainThreadExecution();
|
|
|
|
|
|
markBootstrapComplete();
|
|
|
|
// Start the debugger agent.
|
|
process.nextTick(() => {
|
|
require('internal/deps/node-inspect/lib/_inspect').start();
|
|
});
|