If you need debug ATG web application follow the instruction below.
Add next variables in atg files:
(Note: In our case we use server EC_Dynamo_Server, find or create the same file for your's)
File c:\ATG\ATG2007.1\home\servers\EC_Dynamo_Server\localconfig\postEnvironment.bat
set JAVA_ARGS=-Xdebug -Djava.compiler=NONE -Xbootclasspath:%JAVA_HOME%\jre\lib\r
t.jar;%JAVA_HOME%\lib\tools.jar -Xnoagent -unjdwp:transport=dt_socket,address=8000,server=y,suspend=n %JAVA_ARGS%
File startWeblogic.bat script add following line:
set JAVA_OPTIONS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n %JAVA_OPTIONS%
Now you need restart your Weblogic Application Server
Start Eclipse and open your ATG project.
Mouse right click on your project name will open popup menu -
choose Debug As -> Debug Configurations...
In a new Debug Configurations Dialog tree you will see "Remote Java Application".
Double click it. A new default debug configuration for remote application will be created.
Thats it! You may press button "Debug" and eclipse start debugging process.