Skip to content

Commit 051ce6d

Browse files
authored
Add debug config
1 parent 3ff1003 commit 051ce6d

4 files changed

Lines changed: 16 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ build/
55
raw/
66
.history
77
*.backup
8-
.vscode
98
.idea
109
cli/index.generated.js
1110
src/diagnosticMessages.generated.ts

.vscode/launch.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "attach",
7+
"name": "Attach",
8+
"port": 9229,
9+
"skipFiles": [
10+
"<node_internals>/**"
11+
]
12+
}
13+
]
14+
}

assembly/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export function add(): void { }

src/program.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,7 @@ export class Program extends DiagnosticEmitter {
949949

950950
/** Initializes the program and its elements prior to compilation. */
951951
initialize(): void {
952+
debugger;
952953
if (this.initialized) return;
953954
this.initialized = true;
954955

0 commit comments

Comments
 (0)