Documentation Request: Active Debugger instruction when debugging Mill codebase #4089
Friendseeker
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Mill's official documentation says:
mill/readme.adoc
Lines 91 to 97 in d219462
While
println
debugging works for many people, it would be ideal to also provide instruction for active debugger usage, for people that prefers the latter.For extra context, instructions online to use active debugger for a Mill project (e.g. on Stackoverflow) are incomplete (or maybe outdated). I tried to follow the instruction on aforementioned Stackoverflow post when running
mill.main.maven.BuildGenTests
, the debug port is never opened.One may still use
BSP
for active debugging, by running the target directly via IDE. HoweverBSP
debugging support seems to be incomplete. For instance, it does not setMILL_TEST_RESOURCE_DIR
. We may want to consider documentingBSP
as an option & mentioning its caveats.Beta Was this translation helpful? Give feedback.
All reactions