javaquarkusjetbrains-fleet

Jetbrains Fleet how to attach debugger


Hello as some of you already saw the new Fleet IDE from JetBrains has been released and I was curious to try it and learn more. I'm not sure if this is the best place to ask this question but I can't find how to debug a quarkus application without the main function. Fleet provides you with the maven commands and it runs quarkus on dev mode correctly but the debugger does not work. I have searched on how to attach a debugger on port 5005 but I don't seem to find anything that solved my problem. If anyone knows how to attach the debugger on port 5005 in Fleet let me know.


Solution

  • I think we have 2 ways we can try to achieve this.

    You can either launch your run configuration as "Run and Debug", or attach manually debugger.

    First method Run and Debug

    Go to your Action panel, then type "run & debug"

    Action Panel

    Once open, you just have to select your usual run config

    Run Debug Panel

    Second method manual Attach

    Go to your Action panel, then search for "attach to process"

    enter image description here

    It'll open panel where you can manually type, or select from the list, the one you need to debug

    Hope this helps !