mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
1aac4c1d8f
Currently the inspector module is always loaded and if it does not return anything the inspector console setup is skipped. This commit uses the process.config.variables.v8_enable_inspector variable to only load the inspector module if it is enabled. PR-URL: https://github.com/nodejs/node/pull/15008 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
6 lines
106 B
JavaScript
6 lines
106 B
JavaScript
'use strict'
|
|
const common = require('../common');
|
|
common.skipIfInspectorDisabled();
|
|
|
|
process.config = {};
|