Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jakenuts/f89e29895faf16ef84753fcd4c70e215 to your computer and use it in GitHub Desktop.
Save jakenuts/f89e29895faf16ef84753fcd4c70e215 to your computer and use it in GitHub Desktop.
OMFG VsCode Typescript Subfolder Debug
{
"version": "0.2.0",
"configurations": [
{
"type": "msedge",
"request": "launch",
"name": "Launch Edge",
"url": "https://altadmin.dealervision.local/photoadmin/Backgrounds/Manager/54",
"preLaunchTask": "npm: watch",
"webRoot": "${workspaceFolder}/../wwwroot/",
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/../wwwroot/app/js/*.js"
],
"sourceMapPathOverrides": {
"webpack:///./ClientApp/*": "${workspaceRoot}/*",
}
// webpack:///ClientApp/src/main.ts
// "userDataDir": "${env:HOME}/.vscode/vscode-chrome-debug-userdatadir"
// This config is to always use the same configuration for the chrome app (system wide)
// therefore you can install the prefered extensions once and they will stay!
// Taken from here: https://stackoverflow.com/questions/51725854/run-vscode-chrome-debugger-with-its-extensions
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment