You need to edit the launch.json
file to provide the path to your browser.
System76
A community for the System76 company, a manufacturer of laptops, desktops, and server computers that are both affordable and powered by Linux.
This is what I have under launch.json file but, I still get the same error message : {
// 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": "Launch Chrome",
"request": "launch",
"type": "chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
{
"type": "chrome",
"request": "launch",
"name": "Open test.html",
"file": "/home/cyber_ace/Documents/frontEnd/test.html"
}
]
}
I don't use VSCode, but I don't see anything there that tells it where to find your browser.
Aside: this is not the best subreddit to ask this question. It has nothing to do with System76 products. You'll probably have better luck asking in a subreddit about VSCode.
Thanks, u/bitspace. I appreciate you taking the time to respond despite not using VSCode. I just made a post in the VSCode subreddit. Hopefully, I can solve this issue.
Look up the live-server extension. Thats what you can use to host / see html files