React
{
// 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": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"skipFiles": [
"${workspaceFolder}/node_modules/**/*.js",
"${workspaceFolder}/node_modules/**/*.ts",
"${workspaceFolder}/node_modules/**/*.jsx",
"${workspaceFolder}/node_modules/**/*.tsx",
"**/bundler.js"
]
}
]
}
-------------------------------------------------
Node
{
// 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": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**",
"${workspaceFolder}/node_modules/**/*.js",
"${workspaceFolder}/node_modules/**/*.ts"
],
"program": "${workspaceFolder}\\app.js",
"restart": true,
"runtimeExecutable": "nodemon",
"console": "integratedTerminal",
"sourceMaps": true, // I dunno what this does,
"smartStep": true // can remove both of these
}
]
}
Comments