Details
-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
when folks are running a few containers in a fabric each one has its own separate JPDA debug port which can make debugging tricky. A common gremlin for users is - so how do I debug container Foo in the fabric?
What would be really awesome would be an easy way, from a connected Fabric to click on a Container and click 'Debug' and for Eclipse to automatically connect to that container for debug!
I wonder if there's a way from hawtio to start a remote debug? e.g. could we have a URL handler or something on the local machine of a developer running hawtio browser so we click on a link which would open eclipse at a remote debugger?
e.g. hawtio could generate a link something like this (where 1234 is eclipse's http port it opens and listens on)
http:///localhost:1234/debug/start?host=localhost&port=5006
Then that'd make eclipse start a remote debug using the current project's code & on host localhost / port 5006
This is a little bit like the IDE hook in hawtio to open source file and a line of code at a specific line; only this time its starting a new remote debug session.