Skip to content

Commit

Permalink
Updated debugger settings (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhaufe authored Aug 14, 2022
1 parent a477581 commit ddb5f89
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 26 deletions.
59 changes: 34 additions & 25 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,41 @@
// See: https://github.com/Microsoft/vscode-recipes/tree/master/debugging-jest-tests
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
}
"name": "Jest All",
"type": "pwa-node",
"request": "launch",
"runtimeArgs": [
"run-script",
"test",
"--runInBand"
],
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"skipFiles": [
"<node_internals>/**"
],
"sourceMaps": true
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"${fileBasenameNoExtension}"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
}
"name": "Jest Current File",
"type": "pwa-node",
"request": "launch",
"runtimeArgs": [
"run-script",
"test",
"--runInBand",
"${fileBasenameNoExtension}"
],
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"skipFiles": [
"<node_internals>/**"
],
"resolveSourceMapLocations": [
"${workspaceFolder}/**"
//"!**/node_modules/**"
],
"sourceMaps": true
}
]
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
"files.associations": {
"**/azure/*.yml": "azure-pipelines"
},
Expand All @@ -14,4 +15,4 @@
"agpl",
"spdx"
]
}
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## vNext

* Updated debugger settings to leverage modern VSCode

## v0.23.1

* Updated dependencies
Expand Down

0 comments on commit ddb5f89

Please sign in to comment.