Files
GitBucket/doc/debug.md
2019-02-02 10:28:17 +09:00

503 B

Debug GitBucket on IntelliJ

Add following configuration for allowing remote debugging to buils.sbt:

javaOptions in Jetty ++= Seq(
  "-Xdebug",
  "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"
)

Run GitBucket:

$ sbt ~jetty:start

In IntelliJ, create remote debug configuration as follows. Make sure port number is same as above configuration.

Remote debug configuration on IntelliJ

Then you can start debugging on IntelliJ!