Skip to content

Commit

Permalink
Allow to enter the DEBUG mode from the pause command. (nightwatchjs#4224
Browse files Browse the repository at this point in the history
)
  • Loading branch information
garg3133 authored and dikwickley committed Oct 15, 2024
1 parent 3e736c6 commit 47ed757
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 47ed757

Please sign in to comment.