From f10fd20dc5210ca8a3133bb35b9adb91c13f5d06 Mon Sep 17 00:00:00 2001 From: Ron Pomeroy Date: Mon, 31 Mar 2014 21:19:51 -0700 Subject: [PATCH] A new notes on debugging --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3bf1ad3..c3ead65 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ This is a [Spring Boot](http://projects.spring.io/spring-boot/) based [Vaadin](https://vaadin.com/home) web application to support the display of remote telemetry data from the [Muruhu Bay Micro-Grid Project](https://www.facebook.com/MuhuruBayCommunityMicrogrid). ### Prerequesites + * Java 1.7+ (may move to 1.8 quickly) ### Building and Running the App @@ -19,6 +20,15 @@ or on Windows Run `gradlew tasks` to view all the tasks. To run the app simply type `gradlew run` and the app will launch locally at +### Debugging +In Eclipse there appears to be at least two convienent ways to debug the app (at the moment): + +* As a Java main() application - simply select the org.mbmg.SpringBootVaadin's main() method and [Right Click] Debug As -> Java Application. +* Using M2E - Simply select the Project in the Package Explorer and [Right Click] Debug As -> Spring Boot Application. + +Not yet how this gets modifed for running devmode and superdevmode (more to come) + + #### TODO * Keep fleshing out this readme @@ -26,4 +36,5 @@ Run `gradlew tasks` to view all the tasks. To run the app simply type `gradlew * Setup CI in the cloud (Cloudbees or equivalent) * Automate deployment to our EC2 instance * Move to Java 1.8 -* Build the app! \ No newline at end of file +* Build the app! +* Another line \ No newline at end of file