DebugToolbar

Lookup
Section titled “Lookup”// get a handle for existing toolbar (i.e. debug session needs to be in progress)// takes an optional timeout in ms (default 5000)const bar = await DebugToolbar.create();Buttons
Section titled “Buttons”// continueawait bar.continue();// pauseawait bar.pause();// step overawait bar.stepOver();// step intoawait bar.stepInto();// step outawait bar.stepOut();// restartawait bar.restart();// stopawait bar.stop();// disconnect (unlike stop, detaches from an attached debug session)await bar.disconnect();Wait for code to pause again
Section titled “Wait for code to pause again”Takes an optional timeout in ms (default 10000).
await bar.waitForBreakPoint();