AEM debugger | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Sep 19, 2017 8:48 AM UTC

If you debug on a specific port JVM will be forced to fork!

     If you run java -jar << AEM >>.jar --help on the jar file you get the following:

     -debug << port >> <br/>

     Enable Java Debugging on port number; forces forking.

To prevent forking, use -nofork command line option with high memory size.

~kautuk

Kautuk Sahni

2 replies

edubey
Level 10
Sep 19, 2017 8:50 AM UTC

It will fork a child process.

Refer docs

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Sep 19, 2017 8:48 AM UTC

If you debug on a specific port JVM will be forced to fork!

     If you run java -jar << AEM >>.jar --help on the jar file you get the following:

     -debug << port >> <br/>

     Enable Java Debugging on port number; forces forking.

To prevent forking, use -nofork command line option with high memory size.

~kautuk

Translate
Kautuk Sahni