From e14cf4188a67f34ffc1057c7ec48c2a832fa948a Mon Sep 17 00:00:00 2001
From: Christopher Bohn <bohn@unl.edu>
Date: Fri, 9 Jul 2021 08:06:21 -0500
Subject: [PATCH] Updated pom.xml to facilitate debugging while using a Maven
 javafx goal

See this video: https://use.vg/z8q1YR
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index b7ff913..fcaafea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,6 +29,23 @@
                 <configuration>
                     <mainClass>edu.unl.cse.csce361.gui_starter.Main</mainClass>
                 </configuration>
+                <executions>
+                    <execution>
+                        <id>run</id>
+                        <configuration>
+                            <mainClass>edu.unl.cse.csce361.gui_starter.Main</mainClass>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>debug</id>
+                        <configuration>
+                            <mainClass>edu.unl.cse.csce361.gui_starter.Main</mainClass>
+                            <options>
+                                <option>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8000</option>
+                            </options>
+                        </configuration>
+                    </execution>
+                </executions>
             </plugin>
         </plugins>
 
-- 
GitLab