Tweak debug startup message for run command, per PR comment
This commit is contained in:
parent
0e8d605e2d
commit
9f59ba5abf
|
@ -238,7 +238,7 @@ class ClusterFormationTasks {
|
||||||
// we must add debug options inside the closure so the config is read at execution time, as
|
// we must add debug options inside the closure so the config is read at execution time, as
|
||||||
// gradle task options are not processed until the end of the configuration phase
|
// gradle task options are not processed until the end of the configuration phase
|
||||||
if (config.debug) {
|
if (config.debug) {
|
||||||
println 'Running elasticsearch in debug mode, connect on port 8000'
|
println 'Running elasticsearch in debug mode, suspending until connected on port 8000'
|
||||||
esEnv['JAVA_OPTS'] += ' -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000'
|
esEnv['JAVA_OPTS'] += ' -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue