Thanks, Paul!

By the wording here: https://sling.apache.org/documentation/development/slingstart.html#debugging-1 , I was under the impression that the launchpad.debug option would add these parameters implicitly.

Works now, thanks a lot!
Juerg

On 08.01.21 13:44, Paul Bjorkstrand wrote:
Sounds like you are missing the debugging jvm arg:
-agentlib:jdwp=transport=dt_socket,address=30303,server=y,suspend=n

Take a look at the debugging
  instructions:
https://sling.apache.org/documentation/development/getting-and-building-sling.html#debug-sling-in-eclipse-1

Happy debugging!

On Fri, Jan 8, 2021, 06:22 JCR <[email protected]> wrote:

Hello

I tried starting up Sling standalone in debug mode, by either providing
the debug-param on the command line (java -Dlaunchpad.debug=true -jar
org.apache.sling.starter-11.jar) and modifying sling.properties
respectively (by adding line launchpad.debug=true). In either case,
Eclipse is unable to connect, reporting that port 30303 is not available.

What's missing?

Thanks,
Juerg


Reply via email to