For the first time I encounter problem when I can’t debug Java program in Intellij IDEA. Output to command line works, but breakpoint is ignored..
May be it’s because I created Maven configuration to start the program.
It might be that I’m disconnected from JVM, but I have no idea how to connect to.
What can be the cause of such behaviour?
For the first time I encounter problem when I can’t debug Java program in
Share
If you’re talking about debugging something running in Maven with IntelliJ, you can
mvnDebuginstead of justmvn. It will wait for a debugger to connect on port 8000. You can have IntelliJ do this by creating a Run/Debug Configuration of type “Remote” that connects to localhost:8000.