Hi Piotr,

well in this case all you need to do is to set a breakpoint where you want to 
start debugging and then you do a Maven compile (by selecting the compile goal 
in the maven menu. But instead of selecting "Run" you select "Debug" ... that 
should be all that's needed.

Chris



Am 11.11.20, 14:09 schrieb "Piotr Zarzycki" <[email protected]>:

    Hi Chris,

    Could you describe whole process ? I heard it straightforward, but nothing
    more above that. We are using Maven.

    Thanks,
    Piotr

    śr., 11 lis 2020 o 13:36 Christofer Dutz <[email protected]>
    napisał(a):

    > Hi Yishay,
    >
    > well debugging the compiler-jx code from a unit- or integrationtest shouls
    > be straight forward.
    > When using maven it should also be just setting a breakpoint and starting
    > the maven build using the debug icon.
    > When using Ant however I think you need to provide some additional
    > arguments to make the VM pause and wait for a connection from a debugger.
    > For this use the "Remote Debugging" run configuration in Intellij. When
    > editing the run configuration, it also displays what you have to add to 
the
    > commandline.
    >
    > Hope that helps,
    >       Chris
    >
    > Am 11.11.20, 12:34 schrieb "Yishay Weiss" <[email protected]>:
    >
    >     Can anyone share his/her experience in doing that?
    >
    >     Thanks,
    >     Yishay
    >
    >
    >
    >

    -- 

    Piotr Zarzycki

Reply via email to