Another debugging method in Java (not remote jmv debug), similar to python remote debugging method

This kind of debugging is similar to python's debugging method. It pushes the business code and dependencies to Linux during runtime and uses Linux's java to run the program. As long as it can be run locally, the code can be automatically pushed to Linux for running. There is no need to package and set remote debug jvm parameters, which is suitable for debugging some projects.

Insert image description here

When running, some dependencies and business codes will be pushed to the /opt directory. My java command path is /usr/bin/java, so configuring /usr here will automatically splice "/bin/java"

Insert image description here

Guess you like

Origin blog.csdn.net/qq_39506978/article/details/131999966