Skip to content

Instantly share code, notes, and snippets.

@sydcanem
Created February 23, 2018 18:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sydcanem/04e07a13a849aecc5cbd852dab056e82 to your computer and use it in GitHub Desktop.
Save sydcanem/04e07a13a849aecc5cbd852dab056e82 to your computer and use it in GitHub Desktop.
VSCode Launch config for React SSR
{
// 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": [
{
"type": "chrome",
"request": "launch",
"name": "Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:///./*": "${workspaceRoot}/*"
}
},
{
"name": "Node",
"type": "node",
"request": "attach",
"port": 9230,
"restart": true,
"protocol": "inspector",
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:///*": "${workspaceRoot}/*"
}
}
],
"compounds": [
{
"name": "Hybrid",
"configurations": ["Node", "Chrome"]
}
]
}
@DaniilSezonov
Copy link

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment