google-cloud-eclipse icon indicating copy to clipboard operation
google-cloud-eclipse copied to clipboard

Experiment with canPublish() and auto-restart

Open briandealwis opened this issue 8 years ago • 0 comments

We currently launch the devappserver with automatic-restart=false as making changes to a class when debugging causes the server to be restarted and thus terminates the debug session, which is very frustrating (#836).

But automatic-restart=false also leads to some puzzling behaviour as changes to non-class files are eventually published and picked up by the server, but changes to class files are not (#1428).

We may be able to leverage the ServerBehaviourDelegate#canPublish() to check the launch's mode (i.e., are we in debug) and if any of the launches debug-targets or processes are currently suspended.

briandealwis avatar Apr 26 '17 17:04 briandealwis