Expand my Community achievements bar.

SOLVED

AEM debugger

Avatar

Level 2

If we start AEM server in debugger mode what will happen? Will it fork a child process or not?

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

2 Replies

Avatar

Correct answer by
Administrator

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