1
0
mirror of https://github.com/angular/angular-cli.git synced 2025-05-21 14:02:43 +08:00

docs: update developers guide with correct commands

`--yarn` was replaced with `--package-manager=yarn`
This commit is contained in:
Alan Agius 2024-06-13 06:39:52 +00:00 committed by Alan Agius
parent 9963417f4d
commit 054d8bfbdb

@ -88,7 +88,7 @@ You can find more info about debugging [tests with Bazel in the docs.](https://g
- For a complete list of test targets use the following Bazel query: `yarn bazel query "tests(//tests/...)"`
- Run a subset of the tests: `yarn bazel test //tests/legacy-cli:e2e_node18 --config=e2e --test_filter="tests/i18n/ivy-localize-*"`
- Use `bazel run` to debug failing tests debugging: `yarn bazel run //tests/legacy-cli:e2e_node18 --config=e2e --test_arg="--glob=tests/basic/aot.ts"`
- Provide additional `e2e_runner` options using `--test_arg`: `--test_arg="--yarn"`
- Provide additional `e2e_runner` options using `--test_arg`: `--test_arg="--package-manager=yarn"`
When running the debug commands, Node will stop and wait for a debugger to attach.
You can attach your IDE to the debugger to stop on breakpoints and step through the code. Also, see [IDE Specific Usage](#ide-specific-usage) for a