Debugger and test runs
Test a workflow from the designer — Run, Debug, Run from node, breakpoints, stepping, the run log, variables, output and failure screenshots.
The designer can run the workflow you are editing on one profile, step by step if you like, without publishing it. These test runs use the same engine and the same browser actions as tasks, so what works here works in a task.
Start a test run
The debug bar sits under the designer toolbar.
- Choose the profile in Choose a profile to run on…. A workflow that does not use the browser can run with No profile.
- Pick how to start:
- Run — runs the draft from Start;
- Debug — starts paused at Start, so you can step from the first node;
- Run from node — select one node first; the run starts there (see below).
- If the workflow has inputs, a dialog asks for them. Inputs you typed are remembered for the next test run, except secret-typed inputs, which are never stored.
Starting a test run saves the current canvas as the draft and runs a frozen snapshot of it: edits you make while it runs do not affect it. The snapshot is kept in the version history with the note test run. Test runs keep the browser open afterwards, and they appear in History with the source Test run.
Breakpoints
A breakpoint pauses a test run before the node runs. Toggle it with F9, the Breakpoint switch in the inspector, the dot on the node, or the node's right-click menu (Add breakpoint / Remove breakpoint). You can add or remove breakpoints while a test run is live. Breakpoints apply only to test runs; tasks and schedules ignore them.
Pause and step
While a test run is live the debug bar shows:
| Control | Key | What it does |
|---|---|---|
| Pause | — | Pauses before the next node |
| Resume | F8 | Continues to the next breakpoint or the end |
| Step over | F10 | Runs the current node — including everything inside it, if it is a container — and pauses at the next node at the same level |
| Step into | F11 | Runs to the very next node, entering a container's branch or loop body |
| Stop | — | Ends the test run |
The status beside the controls shows the run's state, the node it is paused at (at …) or running (running …), and after the end any error with its readable title. The canvas centres on the node where the run paused and highlights the node being executed.
Run from node
Run from node (or Run from here… in the node's menu) starts at the selected node and continues through the rest of its chain. Nodes before it do not run, so the dialog asks for Variables at the start (JSON object) — the values those skipped nodes would have set:
{"rows": [{"email": "a@example.com"}], "page_no": 3}This is the quickest way to repeat the end of a long workflow while you fix it. When the selected node is inside a loop or a branch, only that chain runs.
The bottom panel
- Problems — validation errors and warnings. A test run cannot start while there are errors; Quin opens this tab and lists them.
- Run log — every executed step: node, outcome, duration, attempt, and the step's input and output. Click a step to centre its node. Typed values of password and secret fields are shown as
•••, and secret values are redacted everywhere. - Variables — the run's variables while it runs or is paused, with their types (array lengths, objects as JSON).
- Output — the rows added with Add result row.
A failed browser step links its failure screenshot. Files the run saved (screenshots, downloads, page HTML) are kept with the run; open the test run in History to see them under Files.
Waiting steps
When a run reaches Wait for confirmation, the designer shows The run is waiting for your confirmation with your message and a Continue button; the run times out after the node's timeout_s. Use it for a step a person must do — solving a CAPTCHA, approving a sign-in on another device — then continue.
Wait for external signal shows Waiting for the external signal "…": a Local API client must send it with POST /api/v1/runs/{run_id}/signal and a body such as {"name": "approved", "value": true}.
Debugging tips
- A locator does not match — select the node, use Test locator (it counts and highlights the matches in the test profile's browser) or Pick element again.
ambiguous_locator— the locator matches several elements; add nth, Has text or a more specific kind.timeout— the element appears later than expected: add Wait for element before it, or raise Timeout ms.- Wrong value — pause before the node and read the Variables tab; check that Save to names match exactly.
- Works in Run, fails in a task — tasks run the published version. Publish after fixing, and check the task's inputs and dataset.
- The page changed under the run — clicking in the browser during a run is allowed (it is your browser), but if you change the page the next step fails clearly.