# `webtest-ai debug`

Runs a suite with Playwright Inspector enabled.

```bash
webtest-ai debug --suite specs/webtest-ai-demo.md --tags public
```

`debug` is shorthand for `webtest-ai run --debug`. It accepts the same suite, config, browser, tag, auth, artifact, quality, and journey flags as `run`. It sets `PWDEBUG=1`, forces headed mode, and pauses before execution so you can inspect locators, page state, console output, and network behavior.

Use this for local diagnosis. CI should use `webtest-ai run`.
