Skip to content

Commit 1a3a0d4

Browse files
committed
Just show "Remote Debug" name for consistent framework naming, not "debug=<port>". Note: "Debugging enabled on port %d" shows port already.
1 parent 51d7ffc commit 1a3a0d4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/java/frameworks/debug.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package frameworks
22

33
import (
44
"fmt"
5-
"github.com/cloudfoundry/java-buildpack/src/java/common"
65
"os"
76
"strconv"
7+
8+
"github.com/cloudfoundry/java-buildpack/src/java/common"
89
)
910

1011
// DebugFramework implements Java remote debugging support
@@ -30,8 +31,7 @@ func (d *DebugFramework) Detect() (string, error) {
3031
return "", nil
3132
}
3233

33-
port := config.getPort()
34-
return fmt.Sprintf("debug=%d", port), nil
34+
return "Remote Debug", nil
3535
}
3636

3737
// Supply performs debug setup during supply phase

0 commit comments

Comments
 (0)