Node - Debug

Management

Detect

You can detect that Node was started in debug mode with the following logic.

const debug = typeof v8debug === 'object' || /--debug|--inspect/.test(process.execArgv.join(' '));







Share this page:
Follow us:
Task Runner