Debugging a JAR loaded by a custom class loader with source code?

I am loading a JAR file using a custom class loader. The JAR file is not on the class path. It is not registered as a library or a module in the IDEA project.

When debugging code from this JAR file, the debugger shows decompiled class files.

Is there any way to tell the debugger where to find the source code?

1 comment

You can add a library with Provided scope to IntelliJ IDEA project and attach sources to this library.


Please sign in to leave a comment.