debugging intellij java apps in vagrant vm
Answered
is it possible to create easy config that will run java apps in debug mode in vagrant? I can do all the stuff manually (share folder, compile locally, and run in vagrant in server mode, and then run intellij in remoteDEbug).
Is it possible to have similar use-case as standard run/debug on local machine but to be executed in vagrant?
eg. instead C:\Program Files\Java\jdk1.8.0_131\bin\java" -agent... classpath c:\.m2\.... com.me.Program to run something like:
vagrant ssh -c '/home/bin/java -agent .... classpath /home/.m2 .. com.me.Program' to run it in remote machine and start debug.
Please sign in to leave a comment.
No, please vote for https://youtrack.jetbrains.com/issue/IDEA-110822.
Automated configuration example: https://stackoverflow.com/a/42392922/104891.