Skip to content

DebugToolbar

github-actions[bot] edited this page Apr 23, 2024 · 2 revisions

toolbar

Lookup

// get a handle for existing toolbar (i.e. debug session needs to be in progress)
const bar = await DebugToolbar.create();

Buttons

// continue
await bar.continue();
// pause
await bar.pause();
// step over
await bar.stepOver();
// step into
await bar.stepInto();
// step out
await bar.stepOut();
// restart
await bar.restart();
// stop
await bar.stop();

Wait for code to pause again

await bar.waitForBreakPoint();