From 424f8ed44f0af5ac74a8a7119d56db11e6f51f7f Mon Sep 17 00:00:00 2001 From: Ilya Buziuk Date: Tue, 8 Aug 2017 12:06:21 +0200 Subject: [PATCH] Adding debug commands for vertx & spring-boot stacks Signed-off-by: Ilya Buziuk --- .../src/main/resources/stacks.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ide/che-core-ide-stacks/src/main/resources/stacks.json b/ide/che-core-ide-stacks/src/main/resources/stacks.json index 64171a314fb..40fae9b71f9 100644 --- a/ide/che-core-ide-stacks/src/main/resources/stacks.json +++ b/ide/che-core-ide-stacks/src/main/resources/stacks.json @@ -2371,6 +2371,14 @@ "previewUrl": "http://${server.port.8080}", "goal": "Run" } + }, { + "commandLine": "scl enable rh-maven33 'mvn vertx:debug -f ${current.project.path}'", + "name": "debug", + "type": "custom", + "attributes": { + "previewUrl": "http://${server.port.8080}", + "goal": "Debug" + } }] }, "stackIcon": { @@ -2448,6 +2456,15 @@ "previewUrl": "http://${server.port.8080}", "goal": "Run" } + }, + { + "commandLine": "scl enable rh-maven33 'mvn spring-boot:run -Drun.jvmArguments=\"-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005\" -f ${current.project.path}'", + "name": "debug", + "type": "custom", + "attributes": { + "previewUrl": "http://${server.port.8080}", + "goal": "Debug" + } } ] },