-
Notifications
You must be signed in to change notification settings - Fork 393
Description
Upon launching debug either per launch.json or Spring Boot Dashboard, VSCode jumps to Class.class
here.
I don't event get to the Spring Boot Output in the Terminal which would normally happen. The terminal only shows the command that VSCode executes to launch Java. This "C:program Java jdk-21 jav.exe -gentlib.... .argfile ...." then it stops there and jumps to the error.
Once continued I get java.lang.IllegalArgumentException
in getKeyStore
of Class.class
And it would take me for ever to screenshot and mention every following Exception which happens afterwards.
Everything worked perfectly fine before that. It happened from one debug session to another. I tested with a freshly generated maven-quickstart project and debug there worked perfectly fine.
What worked:
- Running and debugging in IntelliJ
- My Coworker tried it in their VSCode and it worked for them
What I tried:
- Restart Laptop
- Reinstall VSCode
- Cleaned Cache
- Tried older Version of VSCode Debugger for Java
Infos:
- My
launch.json
{ "name": "Launch App", "type": "java", "request": "launch", "envFile": "${workspaceFolder}/.env", "mainClass": "com.agb.app.MyApp", "projectName": "MyApp" },
- Debugger Version:
v0.58.0
- VSCode Version:
1.95.0
(user setup)