Is there a way to make IntelliJ recognize shaded jars/libraries when debugging?

Answered

Hello everyone,

We consume some libraries that are shipped as shaded jars. The full name of the classes that are contained in shaded jars are mutated to make them globally unique and avoid conflicts with external jars added to the classpath.

The problem that we are facing is that, when debugging the project, IntelliJ is not able to correlate the classes that are in the shaded jar with their source code. It is understandable since the full name of the class is changed in the shaded jar, but there should be a way for the user to inform IntelliJ that the jar was shaded and allow the debugger to work.

Does anyone know if there is a way to get around this problem?

Thank you,
Felipe

0

Please sign in to leave a comment.