Skip to content

Commit

Permalink
Fixes for debugging Web Tests (#10503)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne authored Jun 20, 2022
1 parent 55b05c1 commit f75913f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/preDebugWebTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ const settingsFile = path.join(__dirname, '..', 'src', 'test', 'datascience', '.
async function go() {
let url = process.env.EXISTING_JUPYTER_URI;
if (!url) {
const { server, url } = await startJupyter(true);
fs.writeFileSync(path.join(__dirname, '..', 'temp', 'jupyter.pid'), server.pid.toString());
const info = await startJupyter(true);
url = info.url;
fs.writeFileSync(path.join(__dirname, '..', 'temp', 'jupyter.pid'), info.server.pid.toString());
} else {
console.log('Jupyter server URL provided in env args, no need to start one');
}
Expand Down

0 comments on commit f75913f

Please sign in to comment.