Skip to content

Can't debug microservices that change #1524

Open
@blakemcbride

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions