Skip to content

Commit 19630ab

Browse files
committed
Make debugging in vscode a little less bad
1 parent f204dc6 commit 19630ab

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.vscode/launch.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
1212
"console": "integratedTerminal",
1313
"internalConsoleOptions": "neverOpen",
14-
"skipFiles": ["<node_internals>/**"]
14+
"skipFiles": ["<node_internals>/**"],
15+
"sourceMaps": true
1516
}
1617
]
1718
}

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
"sinon": "^9.0.2"
6060
},
6161
"babel": {
62+
"sourceMaps": "both",
63+
"retainLines": true,
6264
"presets": [
6365
[
6466
"@babel/preset-env",
@@ -153,7 +155,8 @@
153155
"spec": [
154156
"test/setup.js",
155157
"test/**/*.test.js"
156-
]
158+
],
159+
"timeout": false
157160
},
158161
"bugs": {
159162
"url": "https://github.com/tswaters/react-form-validation/issues"

0 commit comments

Comments
 (0)