How to run Jetty via Gradle in Debug Mode

后端 未结 9 1463
醉话见心
醉话见心 2020-12-13 00:43

Does anyone know how to configure the jetty gradle plugin to run in debug mode so that I can attach a remote debugger?

I\'ve tried setting the gradle and java opts t

9条回答
  •  独厮守ぢ
    2020-12-13 00:49

    Try using Gretty plugin, it provided gradle tasks jettyRunDebug, jettyStartDebug etc.

    Source code and doc: https://github.com/akhikhl/gretty

    Disclosure: I am author of Gretty plugin.

提交回复
热议问题