Skip to content

feat: pauseOn plugin with debug modes and CLI plugin arguments#5520

Open
DavertMik wants to merge 4 commits into4.xfrom
feat/pause-on-plugin
Open

feat: pauseOn plugin with debug modes and CLI plugin arguments#5520
DavertMik wants to merge 4 commits into4.xfrom
feat/pause-on-plugin

Conversation

@DavertMik
Copy link
Copy Markdown
Contributor

Summary

  • Plugin system: -p flag now supports colon-separated arguments (-p pluginName:arg1:arg2:arg3). Plugins receive args as config._args array. Auto-creates config entries for CLI-enabled plugins not in config. Fully backwards compatible.
  • pauseOn plugin with 4 modes:
    • pauseOn:fail — pause on test failure (same as pauseOnFail)
    • pauseOn:step — step-by-step execution via interactive pause
    • pauseOn:file:path[:line] — breakpoint at file/line
    • pauseOn:url:/pattern — breakpoint on URL match (with * wildcards)
  • Debugging docs page (docs/debugging.md) — dedicated guide covering output verbosity, interactive pause, pauseOn plugin, IDE debugging, failure plugins, and AI-powered debugging

Test plan

  • Acceptance tests pass (within suite: 12 passed)
  • Full acceptance suite: 61 passed, 1 failed (pre-existing API test), 2 skipped
  • Backwards compat: -p retryFailedStep works unchanged
  • -p pauseOn:fail loads and runs
  • -p pauseOn:url:/nonexistent loads without crash
  • -p pauseOn:file:nonexistent.js:99 loads without crash

🤖 Generated with Claude Code

DavertMik and others added 4 commits April 16, 2026 23:26
…uments

Extend plugin system to support colon-separated CLI arguments (-p pluginName:arg1:arg2).
Add pauseOn plugin with 4 modes: fail, step, file (breakpoint), and url.
Add dedicated debugging documentation page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Plugin CLI arguments is a system-wide spec, not debugging-specific.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The 'all' magic keyword conflicted with the new colon-separated plugin
arguments syntax. Users can still enable specific plugins in dry-run via
-p pluginName1,pluginName2.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant