OpenLiberty / liberty-tools-eclipse

Eclipse Public License 2.0
11 stars 8 forks source link

Add debug restart #508

Open awisniew90 opened 4 months ago

awisniew90 commented 4 months ago

Fixes #498

This PR creates the following behaviors:

  1. A Hot Code Replace failure will now prompt the user to "refresh" the debugger. This will result in the debugger being disconnected and reconnected
  2. A restart of the server from dev mode via the command line will result in the debugger being disconnected and reconnected when the server restarts (using whatever debug port dev mode chose)
  3. When in debug mode, the debugger is always on.... if disconnected (automatically or manually), it will always attempt to reconnect.
scottkurz commented 2 months ago

This is a nice improvement on the HCR failure path.

Now that I appreciate the use case better... I can also appreciate that it still leaves say the path in which dev mode restarts the server upon a bootstrap.properties update.

Let's think about that more.