Skip to content

Commit

Permalink
Fixed nbactions and pom so that you can start debugger and attach to it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdasaur committed Aug 16, 2019
1 parent 707839b commit 1d475c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions litfx-demos/nbactions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
<goal>javafx:run@debug</goal>
</goals>
<properties>
<exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} --module-path ${project.build.directory}/modules --module ${moduleName}/${mainClass}</exec.args>
<exec.executable>java</exec.executable>
<jpda.listen>true</jpda.listen>
<skipTests>true</skipTests>
<javafx.run.debug>${jpda.attach.port}</javafx.run.debug>
<jpda.attach>define</jpda.attach>
<exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} --module-path ${project.build.directory}/modules --module ${moduleName}/${mainClass}</exec.args>
</properties>
</action>
</actions>
6 changes: 3 additions & 3 deletions litfx-demos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
<configuration>
<debug>true</debug>
<debuglevel>lines,vars,source</debuglevel>
<!-- <options>
<options>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8000</options>
</options>-->
<options>
<options>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8000</options>
</options>
<mainClass>${mainClassName}</mainClass>
</configuration>
</execution>
Expand Down

0 comments on commit 1d475c8

Please sign in to comment.