mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Workers debugging will require interfacing between the "main" inspector and per-worker isolate inspectors. This is consistent with what WS interface does. This change is a refactoring change and does not change the functionality. PR-URL: https://github.com/nodejs/node/pull/21182 Fixes: https://github.com/nodejs/node/issues/21725 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
18 lines
485 B
JavaScript
18 lines
485 B
JavaScript
// Flags: --inspect=0
|
|
'use strict';
|
|
const common = require('../common');
|
|
|
|
// The inspector attempts to start when Node starts. Once started, the inspector
|
|
// warns on the use of a SIGPROF listener.
|
|
|
|
common.skipIfInspectorDisabled();
|
|
|
|
if (common.isWindows)
|
|
common.skip('test does not apply to Windows');
|
|
|
|
common.expectWarning('Warning',
|
|
'process.on(SIGPROF) is reserved while debugging',
|
|
common.noWarnCode);
|
|
|
|
process.on('SIGPROF', () => {});
|