Skip to content
Advertisement

Java Project in VS-Code, “No delegateCommandHandler for vscode.java.validateLaunchConfig” Error

I’m new to Java in Visual Studio Code and trying to implement small application, which is using our SDK, which is located in our internal Git Repository.

When trying to Debug my application I get following Error:

No delegateCommandHandler for vscode.java.validateLaunchConfig

My Configurationfile looks pretty simple:

{
    "configurations": [

        {
            "type": "java",
            "name": "CodeLens (Launch) - App",
            "request": "launch",
            "mainClass": "com.my.first.class",
            "projectName": "dummyproject"
        }
    ]
}

I’m using following Extensions for Visual Studio Code:

  • Debugger for Java (0.20.0)
  • Gitlens (9.9.0)
  • Java Dependency Viewer (0.5.1)
  • Java Test Runner (0.18.1)
  • Maven for Java (0.18.1)
  • Java Extension Pack (0.7.1)
  • Language Support for Java (0.47.0)
  • Visual Studio IntelliCode (1.1.8)

Advertisement

Answer

Restarting Visual Studio Code solved this issue…

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement