Skip to content

Instantly share code, notes, and snippets.

@transcendr
Last active August 16, 2018 11:29
Show Gist options
  • Save transcendr/1937c53752800245f6d71651b7e41bd2 to your computer and use it in GitHub Desktop.
Save transcendr/1937c53752800245f6d71651b7e41bd2 to your computer and use it in GitHub Desktop.
Web Standards Development

Web Standards Development

HTTP Server Setup

Install server

$ npm install simplehttpserver -g

From VS Code internal terminal, inside project dir, port based on VS debug port

$ simplehttpserver -p 3100

{
"version": "0.2.0",
"configurations": [{
"type": "chrome",
"request": "launch",
"name": "Chrome Canary",
"url": "http://localhost:3100",
"runtimeExecutable": "C:/Users/trans/AppData/Local/Google/Chrome SxS/Application/chrome.exe",
"webRoot": "${workspaceFolder}",
"skipFiles": [
"node_modules"
]
},
{
"type": "chrome",
"request": "launch",
"name": "Google Chrome",
"url": "http://localhost:3100",
"webRoot": "${workspaceFolder}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment