1// Flags: --inspect=0 2'use strict'; 3const common = require('../common'); 4 5// The inspector attempts to start when Node starts. Once started, the inspector 6// warns on the use of a SIGPROF listener. 7 8common.skipIfInspectorDisabled(); 9 10if (common.isWindows) 11 common.skip('test does not apply to Windows'); 12 13common.skipIfWorker(); // Worker inspector never has a server running 14 15common.expectWarning('Warning', 16 'process.on(SIGPROF) is reserved while debugging'); 17 18process.on('SIGPROF', () => {}); 19