How to view my HTML code in a browser with the new Microsoft Visual Studio Code?
With Notepad++ you have the option to Run in a browser. How can I do the same thing with Visual Studio Code?
How to view my HTML code in a browser with the new Microsoft Visual Studio Code?
With Notepad++ you have the option to Run in a browser. How can I do the same thing with Visual Studio Code?
Open custom Chrome with URL from prompt
Open custom Chrome with active file
Notes
windows
property by other OS${config:chrome.executable}
with your custom chrome location, e.g."C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"
${config:chrome.profileDir}
with your custome chrome profile directory, e.g."C:/My/Data/chrome/profile"
or leave it outsettings.json
- user or workspace - , adjust paths to your needs:launch.json
for debugging purposes:"runtimeExecutable": "${config:chrome.executable}"
my runner script looks like :
and it's just open my explorer when I press ctrl shift b in my index.html file
here is how you can run it in multiple browsers for windows
notice that I didn't type anything in args for edge because Edge is my default browser just gave it the name of the file.
EDIT: also you don't need -incognito nor -private-window...it's just me I like to view it in a private window