1. Edit configuration items
2. Configure the "Remote" template
- The ip address and debug port of the remote application
- -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006
- Local code directory (to be debugged)
3. Add a new configuration through the template
4. To start the remote application, add the parameter -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006
5. Start the local application and prompt that the remote application has been connected