1import { skipIfInspectorDisabled } from '../common/index.mjs'; 2 3skipIfInspectorDisabled(); 4 5import { path } from '../common/fixtures.mjs'; 6import startCLI from '../common/debugger.js'; 7 8import assert from 'assert'; 9 10const cli = startCLI(['--port=0', path('debugger', 'empty.js')]); 11 12try { 13 await cli.waitForInitialBreak(); 14 await cli.waitForPrompt(); 15 await cli.command('help'); 16 assert.match(cli.output, /run, restart, r\s+/m); 17} finally { 18 cli.quit(); 19} 20