Debug Windows Java Application from Linux system
Answered
Hello.
I'm using Idea Ultimate (2022.3) on Linux.
I want to investigate an issue appearing only in the Windows-Version of our Java Application. Is there a way to run the App on a Windows Machine and let it connect back to the debugger on my linux workstation?
I played around with the "Run on:" Option in the Run/Debug Configuration window, setting up the Windows machine as SSH target, either through the local Windows SSH Server or with WSL, but neither worked.
I know I could just install Idea on the Windows machine, but future testing and debugging would be much easier that way.
Just wanted to ask, maybe someone has already experience with this issue.
Please sign in to leave a comment.
Hello,
The only way is to to manually upload JAR, execute it and then connect to remote JVM for debugging.