Debug with quarkus:remote-dev

543 views
Skip to first unread message

Den

unread,
Oct 27, 2021, 2:31:09 AM10/27/21
to Quarkus Development mailing list
Hello,

would it be possible to also use IDE debugger to set breakpoints, etc with quarkus:remote-dev

Thanks


Georgios Andrianakis

unread,
Oct 27, 2021, 2:33:35 AM10/27/21
to denni...@gmail.com, Quarkus Development mailing list
Hi,

That would simply a matter of starting the application with debugging enabled (see https://www.baeldung.com/java-application-remote-debugging) and connecting to that application with a debugger

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/68c402d2-f418-4d01-b8df-2ddc7974e0b9n%40googlegroups.com.

Den

unread,
Oct 27, 2021, 9:19:37 AM10/27/21
to Quarkus Development mailing list
Ah right, thanks. quarkus:remote-dev is 'just' for syncing the code

Max Rydahl Andersen

unread,
Oct 27, 2021, 9:31:51 AM10/27/21
to Georgios Andrianakis, denni...@gmail.com, Quarkus Development mailing list

On 27 Oct 2021, at 8:33, Georgios Andrianakis wrote:

Hi,

That would simply a matter of starting the application with debugging
enabled (see https://www.baeldung.com/java-application-remote-debugging)
and connecting to that application with a debugger

correct - caveat is that if you are doing remote-dev in a kubernetes cluster you
will need to port forward the debug port (5005 by default).

i.e.
kubectl port-forward your-pod 5005:5005 and then connect debugger locally to 5005.

/max

On Wed, Oct 27, 2021 at 9:31 AM Den <denni...@gmail.com> wrote:

Hello,

would it be possible to also use IDE debugger to set breakpoints, etc with
quarkus:remote-dev

Thanks

--
You received this message because you are subscribed to the Google Groups
"Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/quarkus-dev/68c402d2-f418-4d01-b8df-2ddc7974e0b9n%40googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages