Skip to content

Commit

Permalink
Adding debug commands for vertx & spring-boot stacks
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
  • Loading branch information
ibuziuk committed Aug 10, 2017
1 parent d88ceb0 commit 424f8ed
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ide/che-core-ide-stacks/src/main/resources/stacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
}
}
]
},
Expand Down

0 comments on commit 424f8ed

Please sign in to comment.