Skip to content

Commit

Permalink
Allow to enter the DEBUG mode from the pause command. (#4224)
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 authored Jul 2, 2024
1 parent a429d1d commit ee2ecf3
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit ee2ecf3

Please sign in to comment.