Sathish David Kumar N
asked on
how to debug java code in apache http server deployment
hi my application contain angular js and spring code.
we deploy our code in apache 2.4 .x server.
is that any possibility to debug the code using eclipse??
because I am using and clean install to generate war.
through command prompt i deploy my code. not in eclipse run on server
can you help me to debug the code
we deploy our code in apache 2.4 .x server.
is that any possibility to debug the code using eclipse??
because I am using and clean install to generate war.
through command prompt i deploy my code. not in eclipse run on server
can you help me to debug the code
ASKER
How to create break point in the jar
how to do debug ?
how to do debug ?
You just create a break point in Eclipse, in the source code (click on the left of the line you want to set the break point).
ASKER
its giving error
Error: Could not find or load main class suspend=n
Error: Could not find or load main class suspend=n
Show me the command line.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
application jar in eclipse itself *
So how did you do it then? The command I posted in my first post works for spring boot.
ASKER
no i add sts plugin in eclipse
Ah.. ok, so you're running spring boot from within Eclipse...
ASKER
yes
Open in new window
then in Eclipse from "Run" -> "Debug Configurations..." choose the "Remote Java Application" and enter the port number 4000. And you're ready to go.