GoogleCloudPlatform / GoogleCloudPlatform/google-cloud-eclipse

Experiment with canPublish() and auto-restart

Open
#1,865 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority: p4
Dominant language
Java
Stars
90
Forks
52
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.