Halt in the browser debugger before a failing assertion throws (#7) #16

Merged
sufian merged 1 commit from wip/issue-07 into main 2026-10-13 14:01:45 +00:00
Member

Per #7 (lead decision: always-on).

  • src/lib/test.ts: a debugger; as the first statement of the AssertionError constructor, so an attached browser debugger pauses immediately before every assertion throw; a no-op with no debugger attached.
  • Verified normal runs unchanged (perf test unaffected), and (via CDP) that a Debugger.paused event fires in the constructor before the throw.

Closes #7

Per #7 (lead decision: **always-on**). - `src/lib/test.ts`: a `debugger;` as the first statement of the `AssertionError` constructor, so an attached browser debugger pauses immediately before every assertion throw; a no-op with no debugger attached. - Verified normal runs unchanged (perf test unaffected), and (via CDP) that a `Debugger.paused` event fires in the constructor before the throw. Closes #7
sufian merged commit 23182e3ded into main 2026-10-13 14:01:45 +00:00
sufian deleted branch wip/issue-07 2026-10-13 14:01:49 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
legend/gooey-test!16
No description provided.