Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented May 15, 2025

When using the experimental unit-test builder with the vitest runner, a debug option is now available which configures the underlying runner to setup and use the Node Inspector to debug tests. This reduces the complexity to support debugging unit tests via a command execution of ng test --debug. This will cause the test process to initialize and then wait for a debugger to connect prior to executing the tests.

…uilder

When using the experimental `unit-test` builder with the `vitest` runner,
a `debug` option is now available which configures the underlying runner
to setup and use the Node Inspector to debug tests. This reduces the
complexity to support debugging unit tests via a command execution of
`ng test --debug`. This will cause the test process to initialize and
then wait for a debugger to connect prior to executing the tests.
@clydin clydin added the target: rc This PR is targeted for the next release-candidate label May 15, 2025
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label May 15, 2025
@clydin clydin merged commit ce28407 into angular:main May 15, 2025
33 checks passed
@clydin
Copy link
Member Author

clydin commented May 15, 2025

The changes were merged into the following branches: main, 20.0.x

@clydin clydin deleted the unit-test/vitest-debugging branch May 15, 2025 21:07
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants