This works for me:
<action>
<actionName>CUSTOM-debug</actionName>
<displayName>debug</displayName>
<goals>
<goal>install</goal>
<goal>exec:exec@debug</goal>
</goals>
<properties>
<jpda.attach>localhost:8000</jpda.attach>
<jpda.attach.trigger>Listening for transport dt_socket at
address</jpda.attach.trigger>
</properties>
</action>
And in your pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>debug</id>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>java</executable>
<arguments>
<argument>-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y</argument>
<argument>--module-path</argument>
<modulepath/>
<argument>--module</argument>
<argument>org.example/org.example.Main</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
This configuration is obviously for the module path, adapt to the
classpath if needed.
Best regards,
Thomas
On 2019/04/06 10:26:36, joe schmo <g...@hotmail.com> wrote:
> I'm trying to debug a JavaFX program but it doesn't seem to recognize
my breakpoints. Anyone else experience this? If so how did you fix it.>
>
> Thanks>
>
> BC>
>