Replies: 1 comment
-
This works out of the box if you uninstall VSCode for Java and install the "GraalVM Tools for Micronaut". Just open the See https://marketplace.visualstudio.com/items?itemName=oracle-labs-graalvm.micronaut |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Gradle + Groovy Micronaut project that I want to debug in VSCode. The project has one caveat, it has a dotenv environment variable file .env.local.
I am currently running the project with
dotenv -c -- ./gradlew run
. To debug it, I add the--debug-jvm
option. I am able to attach on port 5005.I make a request that runs over a breakpoint, but execution does not stop at the breakpoint. Am I doing something wrong?
Attach configuration:
Also, if there is any way to start the project with a launch configuration, that would be better than starting it elsewhere and then attaching? My current launch configuration seems to hang. Maybe I need to use
preLaunchTask
somehow?Launch configuration:
Beta Was this translation helpful? Give feedback.
All reactions