Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/parallel/test-debugger-preserve-breaks.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ const script = path.relative(process.cwd(), scriptFullPath);
await cli.stepCommand('c'); // hit line 3
assert.deepStrictEqual(cli.breakInfo, { filename: script, line: 3 });
await cli.command('restart');
await cli.waitFor(/Debugger attached\./);
await cli.waitForPrompt();
await cli.waitForInitialBreak();
assert.deepStrictEqual(cli.breakInfo, { filename: script, line: 1 });
await cli.stepCommand('c');
Expand Down
2 changes: 2 additions & 0 deletions test/parallel/test-debugger-run-after-quit-restart.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ const path = require('path');
);
})
.then(() => cli.command('restart'))
.then(() => cli.waitFor(/Debugger attached\./))
.then(() => cli.waitForPrompt())
.then(() => cli.waitForInitialBreak())
.then(() => {
assert.deepStrictEqual(
Expand Down
Loading