Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to enter the DEBUG mode from the pause command. #4224

Merged
merged 1 commit into from
Jul 2, 2024
Merged
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
3 changes: 2 additions & 1 deletion lib/api/client-commands/pause.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Pause extends EventEmitter {
// eslint-disable-next-line
console.log(`Paused...
Press <space> or F10 to step over to the next test command and pause again.
Press d to enter the DEBUG mode.
Press Ctrl+C to exit.
Press any other key to RESUME.`);

Expand All @@ -64,7 +65,7 @@ class Pause extends EventEmitter {
process.stdin.pause();

// Remove the logged paused... information above
readline.moveCursor(process.stdout, 0, -4);
readline.moveCursor(process.stdout, 0, -5);
readline.clearScreenDown(process.stdout);

if (callback) {
Expand Down
Loading