ninjaframework / ninja-appengine

Google App Engine support for Ninja Framework
Apache License 2.0
40 stars 21 forks source link

Can't attach a debugger in Eclipse/IntelliJ/Netbeans to GAE dev server #11

Closed shanestevens closed 10 years ago

shanestevens commented 10 years ago

I can create GAE + Ninja application, and run the server via:

mvnDebug clean appengine:devserver -Pdevserver

However I can't attach a debugger like I can with mvnDebug jetty:run (standard Ninja application, i.e. non GAE)

Any ideas?

raphaelbauer commented 10 years ago

Closing that... answered by yourself on the mailing list :)

Ok, I managed to do it by adding jvm flags for debugging into the pom.xml

Put them in the com.google.appengine block

-Xdebug -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

Now just attach as usual.

shanestevens commented 10 years ago

No problem, thanks Raphael.