How to run an HTML page served by a HTTP server?
-
I’d like to run an HTML page so I configured the
Execute / F5
command as following:chrome.exe http://localhost:8080/$(FILE_NAME)
It works when the HTML file is located in the root of my Workspace (because my Node server is set up to do so).
But it doesn’t work when the file is in a subfolder.Is there a predefined variable (i.e.
$(RELATIVE_PATH)
) that can be used to get the file path relative to the Workspace directory?Thank you by advance for your help.