Debugger doesn't find imported classes in Java

I’m trying to debug my code but the debugger doesn’t see the imported libraries.

Here’s my project where the bug appears.

Here’s the exception I see on the console:

Exception in thread "main" java.lang.NoClassDefFoundError: org/json/simple/parser/JSONParser
    at Main.salvaPartita(Main.java:143)
    at Main.main(Main.java:51)
Caused by: java.lang.ClassNotFoundException: org.json.simple.parser.JSONParser
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    ... 2 more

Did you ever find the answer to this? I had to do this to get my code to run in run mode but now getting this error in debug mode:

mvn dependency:copy-dependencies