Skip to content

Commit

Permalink
Add local binary flags for instrumentation of failures
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharanbrowserstack authored and francisf committed Oct 3, 2023
1 parent a6abc29 commit e53c418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

try {
// the following code starts local binary, comment out if local testing not needed
// Start local binary with additional args "logfile" => "logs.txt", "v" => true to get the local not started logs for debugging.
$bs_local_args = array("key" => $GLOBALS['BROWSERSTACK_ACCESS_KEY']);
// Local binary started with additional args "logfile" => "logs.txt", "v" => true to get the local not started logs for debugging. Please remove them if not needed and cleanup logs if becoming huge.
$bs_local_args = array("key" => $GLOBALS['BROWSERSTACK_ACCESS_KEY'], "logfile" => "logs.txt", "v" => true);
$bs_local = new BrowserStack\Local();
$currentOS = strtoupper(substr(PHP_OS, 0, 3));
print("\nStarting Local Binary...\n");
Expand Down

0 comments on commit e53c418

Please sign in to comment.