Can't debug Rust within VS Code

Viewed 362

I have installed the C\C++ Windows extension. The my_project.vscode\launch.json looks like this;

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(Windows) Launch",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "${workspaceFolder}/target/debug/my_project.exe",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${fileDirname}",
            "environment": [],
            "console": "externalTerminal"
        }
    ]
}

When I run I get

Error processing 'configurationDone' request. Unable to start the Microsoft Visual Studio Debug Console.

The Debug Console is showing at the bottom of the screen.

0 Answers
Related