Skip to content

Commit

Permalink
chore: Add Jest debugger for VSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed Mar 3, 2023
1 parent b09d3ac commit ff2258c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// 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": [
{
"name": "Debug Jest Tests",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
"--experimental-vm-modules",
"${workspaceRoot}/node_modules/jest/bin/jest.js",
"--runInBand"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
}
]
}

0 comments on commit ff2258c

Please sign in to comment.