Vuslat
Vuslat

Reputation: 53

“Cannot find debug adapter for type 'dart". ”

enter image description here

I'm trying to debug dart script in vs code.

Below is my launch.json -

    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        
        
        {
            "name": "todoapp",
            "request": "launch",
            "type": "dart"
        }
    ]
} ```

Upvotes: 0

Views: 909

Answers (1)

Joy
Joy

Reputation: 241

Go to Extensions View (⇧⌘X) and search for Dart extension. Try to uninstall and reinstall the Dart extension, and then restart VS code to see if it works.

If it is still not working, install an older version of Dart and give it a try again.

Upvotes: 1

Related Questions