redhat-developer / vscode-server-connector

📦 Connects Visual Studio Code to your server adapters and run, deploy apps !!
Eclipse Public License 2.0
57 stars 26 forks source link

Run task before debugging the server #416

Closed rsrocha83 closed 3 years ago

rsrocha83 commented 4 years ago

Is it possible to run a command or task before starting/debugging the server? Something like the property preLaunchTask in launch.json file.

I would like to automatically run mvn package on my project just before debugging the server to get the latest modifications in the code.

robstryker commented 4 years ago

Not at this time. We can look into it I guess, but would need to figure out where it'd be appropriate.

rsrocha83 commented 4 years ago

Allowing to define a launch.json, or something similar, for debugging the server would be great. For example, Debugger for Java extension allows step filtering through launch.json. I also miss this functionality while debugging with server connector.

robstryker commented 3 years ago

This is not on the roadmap.

ztrnr commented 1 year ago

Any chance this would be revisited? Utilizing Launch configurations streamlines workflows.