Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit edd9680

Browse files
authored
Merge pull request #687 from mrcrane/chrome-pid-fix
Set chrome PID in all launch cases
2 parents a21e98c + 0b08070 commit edd9680

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/chromeDebugAdapter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,9 @@ export class ChromeDebugAdapter extends CoreDebugAdapter {
428428
}
429429
const chromeProc = spawn(chromePath, chromeArgs, options);
430430
chromeProc.unref();
431+
432+
this._chromePID = chromeProc.pid;
433+
431434
return chromeProc;
432435
}
433436
}

0 commit comments

Comments
 (0)