--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
1) Start play application from eclipse, as usual using run configuration
2) Connect to JPDA by right clicking myapp.launch -> Debug As, Connect to JPDA..
3) Put your breakpoints
4) Refresh :)
In terminal>play run
Listening for transport dt_socket at address: 8000
...
22:59:08,125 WARN ~ You're running Play! in DEV mode
22:59:08,220 INFO ~ Listening for HTTP on port 9000 (Waiting a first
request to start) ...
In Eclipse ,selecting Connect JPDA...launch with DebugAs Connect JPDA
to myapp
Nothing happens for a long time..
trying to select the above again using DebugAs causes
'Failed to connect to remote VM. Connection refused.' error.
An interesting thing, when I stopped play using Ctrl-C and restarted
it ,I got this terminal output
'JPDA port 8000 is already used. Will try to use any free port for
debugging.
Listening for transport dt_socket at address: 50660
...
23:04:37,508 WARN ~ You're running Play! in DEV mode
23:04:37,598 INFO ~ Listening for HTTP on port 9000 (Waiting a first
request to start)
So,port 8000 seems to be used by jpda..Still the debug window wouldn't
come up
Failed to connect to remote VM. Connection refused.
Connection refused
On Mar 7, 8:45 pm, Pascal Voitot Dev <pascal.voitot....@gmail.com>
wrote:
> Can you try running play outside Eclipse (which I always do) and connect in remote debug from Eclipse?