diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.properties b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.properties
index 5a2fd03353..7c800ce92d 100644
--- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.properties
+++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.properties
@@ -2,9 +2,10 @@
username=admin
password=
deploy.dir=/home/admin
-deploy.kill.command=/usr/local/frc/bin/frcKillRobot.sh -t -r
-deploy.debug.command = /usr/local/frc/JRE/bin/java -XX:+UsePerfData -agentlib:jdwp=transport=dt_socket,address=8348,server=y,suspend=y -jar ${deploy.dir}/FRCUserProgram.jar
+deploy.kill.command=. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r
deploy.log.file=/var/local/natinst/log/FRC_UserProgram.log
+deploy.log.command=tail -F -s 0 -n 0 ${deploy.log.file}
+debug.flag.dir=/tmp/
command.dir=/home/lvuser/
# Libraries to use
diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.xml b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.xml
index 574a96a055..5a25af1955 100644
--- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.xml
+++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.xml
@@ -76,25 +76,35 @@
username="${username}"
password="${password}"
trust="true"
- command=". /etc/profile.d/natinst-path.sh; ${deploy.kill.command};"/>
+ command="${deploy.kill.command};"/>
+ command="${deploy.log.command}"/>
[athena-deploy] Copying code over.
+
+
+
+
- [athena-deploy] Starting program.
+ [athena-deploy] Starting Debug program.
+ username="${username}"
+ password="${password}"
+ trust="true"
+ command="${deploy.kill.command}"/>
+
+
diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/frcdebug b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/frcdebug
new file mode 100644
index 0000000000..206e7f86e8
--- /dev/null
+++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/frcdebug
@@ -0,0 +1,2 @@
+# This file is used as a flag to determine if debugging should be used.
+# It is uploaded to the robot when launched in debug mode and should be removed automatically once used.
\ No newline at end of file
diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/robotDebugCommand b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/robotDebugCommand
new file mode 100644
index 0000000000..317e4a4c82
--- /dev/null
+++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/robotDebugCommand
@@ -0,0 +1,3 @@
+/usr/local/frc/JRE/bin/java -XX:+UsePerfData -agentlib:jdwp=transport=dt_socket,address=8348,server=y,suspend=y
+-jar /home/admin/FRCUserProgram.jar
+