VSCode - You don't have an extension for debugging HTML error
24,662
Solution 1
Go to RUN
and select ADD Configuration...
After select your browser and bingo!
Solution 2
It seems launch.json
file is missing. Go to Run and Debug
and click Create a launch.json
.
Author by
SuperLeo23
Updated on July 03, 2021Comments
-
SuperLeo23 almost 3 years
I worked a lot with Visual Studio Code, but since yesterday on all my devices it says: You don't have an extension for debugging HTML.
After a few tries I deleted VSCode and re-installed it. It worked right but as soon that I close VSCode and re-open it, the error keeps showing.
I've noticed that when I close it there is a tiny update box. I've reinstalled it a few times but it keeps happening.
-
www-0av-Com about 3 yearsAnd if you want it to do nothing, change
"type": "pwa-msedge",
(or chrome etc) to"type": "pwa-node",
add the line"runtimeExecutable": "c:\\none.bat",
and make that batch file a stub with just an echo line. I don't have node installed on my system, -
Eric Eskildsen about 3 yearsWorked for me! Pressing F5 used to prompt me to generate
launch.json
in a new project. Instead I was getting, "You don't have an extension for debugging C#." I didn't connect it to a missinglaunch.json
until your answer.Run
>Add Configuration...
>.NET Core
solved it. Maybe the prompt to generate the launch file was removed in a VS Code update...?