Skip to content

Commit 9db7b45

Browse files
author
Albert Brand
committed
Add a debug configuration
1 parent 3dbc319 commit 9db7b45

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/.idea
2-
/node_modules
2+
/node_modules
3+
out

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
{
9+
"type": "node",
10+
"request": "launch",
11+
"name": "Debug pascal-triangle.ts",
12+
"skipFiles": ["<node_internals>/**"],
13+
"program": "${workspaceFolder}/src/pascal-triangle.ts",
14+
"preLaunchTask": "tsc: build - tsconfig.json",
15+
"outFiles": ["${workspaceFolder}/out/**/*.js"]
16+
}
17+
]
18+
}

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"esModuleInterop": true,
66
"forceConsistentCasingInFileNames": true,
77
"strict": true,
8-
"skipLibCheck": true
8+
"skipLibCheck": true,
9+
"outDir": "out",
10+
"sourceMap": true
911
}
1012
}

0 commit comments

Comments
 (0)