MLB06
MLB06

Reputation: 23

Issue not connecting to target at localhost: 9222 Could not connect to debug target at http://localhost: 9222 Could not find any debuggable target

I just installed Visual Studio CodeVisual Studio Code Error Message and I'm receiving an error trying to execute a simple HTML file. The error is as follows (also view file attachment of screenshot). I chose the option Run without Debugging.

Cannot connect to the target at localhost: 9222

Could not connect to debug target at http://localhost: 9222

Could not find any debuggable target.

I applied my HTML, CSS and JAVASCRIPT extensions, as well as Live Server extension.

I expected my HTML to execute. Instead, I received this error message.Visual Studio Error Message

Upvotes: 1

Views: 7780

Answers (1)

SeyedAli
SeyedAli

Reputation: 39

You have installed the Live Server extension, but to use it, you need to click the "Go live" button in the bottom right to start it. For more information, see this link: Live Server extension.

Also, you can use the JavaScript Debugger extension.

Upvotes: 0

Related Questions