Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Avatar

Level 10

It will fork a child process.

Refer docs