Skip to content

Commit 5a87b68

Browse files
committed
Add explanation about
1 parent 168dbc3 commit 5a87b68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ cd /private/var/tmp/_bazel_username/hash/execroot/_main
106106
```
107107

108108
The first is the execution directory and the latter the command.
109+
110+
A note about the command. It's executing the compiler jar with Java. The Java executable may come from your system (local toolchain) like in the example (`/Users/username/tools/Darwin/jdk/bin/java`) or from a Bazel remote toolchain in which case the path would be relative (eg., `external/rules_java++toolchains+remotejdk21_macos_aarch64/bin/java`).
111+
Either is fine.
112+
109113
You need to `cd` into the execution directory and then run the command yourself.
110114
But this time add the remote debug arguments (before `-jar`) as follows:
111115

0 commit comments

Comments
 (0)