Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Breakpoint (run step-by-step)

You can run a test until a certain point and then pause, so that you can investigate what you need using in-browser Chrome debugging tools.

Run step-by-step

BugBug supports step-by-step execution of the tests. To do this, click Run and pause here between steps. This will activate the paused mode. In this mode, you can run a test step-by-step and completely control an execution process.

To enable step-by-step execution, click on the "Run and pause here" action.
Paused mode. To execute next step click on the "Run next step and pause" icon

When a test is paused, a browser window with a test will display BugBug's overlay with options to control the execution process.

Paused mode in a window with a test. BugBug's overlay has options to control the execution process

Breakpoints

A breakpoint marks a place where the test pauses every time you run it locally. Click Add breakpoint between steps to set it, and Remove breakpoint to remove it.

  • A breakpoint stays in the test. It's saved with the test until you remove it, unlike Run and pause here, which pauses only the run you start with it.

  • Cloud runs skip breakpoints. A test with a breakpoint runs in the cloud to the end, without pausing.

Options between steps

Hover between two steps and click + to see the options:

Option
What it does

Run and pause here

Runs the test from the beginning and pauses in this place.

Add breakpoint

Sets a breakpoint: every local run pauses in this place.

Remove breakpoint

Removes the breakpoint from this place.

Resume from here

In paused mode, continues the test from this place.

Resume and pause here

In paused mode, continues the test and pauses again in this place.

In paused mode you can also click Run next step and pause to run one step at a time, or Resume to continue to the end.

BugBug allows you also to rewind or fast-forward the execution process. You can read more about it here Edit & Rewind

Last updated

Was this helpful?