Replies: 3 comments 6 replies
-
Do you want to debug mill itself or the source code of your module (located under |
Beta Was this translation helpful? Give feedback.
-
You can control how your code is executed, e.g. when you use You could enable remote debugging then: override def forkArgs = Seq("-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y") The JVM will wait for a remote debugger to connect to port 8000 before it starts to process your program or test. I'm pretty sure that the BSP protocol also allows you to run the program directly from the IDE, but I never have tried it. |
Beta Was this translation helpful? Give feedback.
-
I know that this is an old topic, but for the curious: I've been playing around with Intellij support a bit, and have found the following:
EDIT: and of course, there turns out to be a caveat. As of this time, Windows users will be unable to do the above, due to https://youtrack.jetbrains.com/issue/IDEA-277486 (Unclear how simple the workaround is to implement) |
Beta Was this translation helpful? Give feedback.
-
I am wondering if there is any way we can start execution in debug mode. More specifically is it possible using an IDE such as IJ to step over the code?
Maybe we have a
-jvm-debug
flag like SBT?TIA
Beta Was this translation helpful? Give feedback.
All reactions