I have have a Java project under VScode debugger and would like to set a breakpoint to a method which is only available as a compiled .class
file (from a jar package which came as a dependency in maven project).
Since it is not a .java
file in my VScode project, I cannot simply open the file from the file browser and set a breakpoint in the file.
How can I set a breakpoint when I only know the method and class by name?
The following hack worked for me: