Skip to content

Commit 4da0749

Browse files
committed
vscode stuff
1 parent 40170c9 commit 4da0749

3 files changed

Lines changed: 51 additions & 1 deletion

File tree

.vscode/launch.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch tests",
11+
"skipFiles": ["<node_internals>/**"],
12+
"runtimeExecutable": "yarn",
13+
"runtimeArgs": ["test:debug"],
14+
"outputCapture": "std",
15+
"preLaunchTask": "${defaultBuildTask}",
16+
"outFiles": ["${workspaceFolder}/dist/*.js"]
17+
}
18+
]
19+
}

.vscode/settings.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,20 @@
2424
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
2525
"typescript.tsdk": ".yarn/sdks/typescript/lib",
2626
"typescript.enablePromptUseWorkspaceTsdk": true,
27-
"cSpell.words": ["lcov", "sonarjs"]
27+
"cSpell.words": ["lcov", "sonarjs"],
28+
"explorerExclude.backup": null,
29+
"npm.packageManager": "yarn",
30+
"debug.javascript.autoAttachFilter": "smart",
31+
"debug.javascript.breakOnConditionalError": true,
32+
"debug.javascript.defaultRuntimeExecutable": {
33+
"node": "yarn",
34+
"pwa-node": "yarn"
35+
},
36+
"debug.javascript.autoAttachSmartPattern": [
37+
"${workspaceFolder}/**",
38+
"!**/node_modules/**",
39+
"**/$KNOWN_TOOLS$/**",
40+
"!**/yarn-*",
41+
"!**/ava-*/**/cli.mjs"
42+
]
2843
}

.vscode/tasks.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "build",
7+
"group": {
8+
"kind": "build",
9+
"isDefault": true
10+
},
11+
"problemMatcher": [],
12+
"label": "npm: build",
13+
"detail": "yarn build"
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)