Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(debug): make new debug work on windows too
Browse files Browse the repository at this point in the history
Closes #580
  • Loading branch information
juliemr committed Mar 6, 2014
1 parent e94fb03 commit 17de697
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ var Runner = function(config) {
this.config_ = config;

if (config.v8Debug) {
process.kill(process.pid, 'SIGUSR1');
// Call this private function instead of sending SIGUSR1 because Windows.
process._debugProcess(process.pid);
}

if (config.nodeDebug) {
process.kill(process.pid, 'SIGUSR1');
process._debugProcess(process.pid);
var flow = webdriver.promise.controlFlow();

flow.execute(function() {
Expand Down

0 comments on commit 17de697

Please sign in to comment.