last update: 2020-12-01 at 21:00:18 CET

Java Development


Debugg A Maven-Jetty Web Application

export MAVEN_OPTS="-Xdebug \

Run the jetty project

mvn jetty:run

Debugg an Application that comes as a Java Archive

java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000 -jar \

Launching a Debugger from Netbeans

In NetBeans, Goto Debug → Attach Debugger. Select Java Debugger(JPDA) and as connector select SocketAttatch and specify the port as 8000. Now you can debug the webapplication using NetBeans