Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't debug microservices that change #1524

Open
blakemcbride opened this issue Dec 29, 2024 · 0 comments
Open

Can't debug microservices that change #1524

blakemcbride opened this issue Dec 29, 2024 · 0 comments

Comments

@blakemcbride
Copy link

Greetings,

I have written a microservice system that allows me to change code while the system is running. In development, this has the benefit of not requiring any re-compiles. I can just change the code while it is running and the new code gets run automatically. This really speeds up development time.

In a production environment, I can update the system while it is running! Everything is always fully compiled. When I attempt to run a method the system notices when the source file changes and automatically re-compiles it.

It works with Java and Groovy but I mainly use Groovy because I can easily tell which are microservices and which are not. The source code for this system is available at GitHub - blakemcbride/Kiss: Kiss Web Development Framework

When I change some microcode (and it gets re-compiled and re-loaded), the debugger doesn’t understand that the code has changed. It still references the old code. This is a problem I have with every IDE except IntelliJ. IntelliJ understands and correctly handles it.

This one issue prevents me from using or recommending VSCode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant