MCPcopy Index your code
hub / github.com/nodejs/node / setupDebugEnv

Function setupDebugEnv

lib/internal/process/pre_execution.js:497–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

495}
496
497function setupDebugEnv() {
498 require('internal/util/debuglog').initializeDebugEnv(process.env.NODE_DEBUG);
499 if (getOptionValue('--expose-internals')) {
500 require('internal/bootstrap/realm').BuiltinModule.exposeInternals();
501 }
502}
503
504// This has to be called after initializeReport() is called
505function initializeReportSignalHandlers() {

Callers 2

prepareExecutionFunction · 0.85

Calls 3

getOptionValueFunction · 0.85
exposeInternalsMethod · 0.80
requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…