nodejs/test/parallel/test-debug-args.js

11 lines
239 B
JavaScript

'use strict';
// Flags: --debug-code
const common = require('../common');
const assert = require('assert');
if (!common.isMainThread)
common.skip('execArgv does not affect Workers');
assert(process.execArgv.includes('--debug-code'));