xref: /third_party/node/lib/internal/main/inspect.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/lib/internal/main/
11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_ci
31cb0ef41Sopenharmony_ci// `node inspect ...` or `node debug ...`
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ciconst {
61cb0ef41Sopenharmony_ci  prepareMainThreadExecution,
71cb0ef41Sopenharmony_ci  markBootstrapComplete,
81cb0ef41Sopenharmony_ci} = require('internal/process/pre_execution');
91cb0ef41Sopenharmony_ci
101cb0ef41Sopenharmony_ciprepareMainThreadExecution();
111cb0ef41Sopenharmony_ci
121cb0ef41Sopenharmony_ci
131cb0ef41Sopenharmony_cimarkBootstrapComplete();
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ci// Start the debugger agent.
161cb0ef41Sopenharmony_ciprocess.nextTick(() => {
171cb0ef41Sopenharmony_ci  require('internal/debugger/inspect').start();
181cb0ef41Sopenharmony_ci});
19

Indexes created Thu Nov 07 10:32:03 CST 2024