Reputation: 1
Whenever I try to run some HTML code in Visual Studio Live Share, even when I press Run without Debugging, it always displays the following error: the error message
You don't have an extension for debugging HTML. Should we find a HTML extension in the Marketplace?
Find HTML extension
Cancel
This message also occurs when I try to add a new configuration too, and when I added a launch.json file nothing changed. I wondered what extensions are needed to resolve this problem - I am on Mac with Apple Silicon if that is relevant. Or if there are any other solutions.
Upvotes: 0
Views: 206
Reputation: 51354
The VS Code debugger is for debugging programming languages. HTML (without any JS) is markup. If you want to test a HTML document, try the Live Preview or Live Server extensions (I have no affiliation with those extensions).
Upvotes: 0