Skip to content

Commit 0397288

Browse files
authored
chore: Enable logging in VSCode debug view (#1262)
Prints any log calls in VSCodes debug console
1 parent 79abdb6 commit 0397288

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.vscode/launch.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@
2020
}
2121
},
2222
"args": [
23-
"target/demo.st",
23+
"target/demo.st"
2424
],
25-
"cwd": "${workspaceFolder}"
25+
"cwd": "${workspaceFolder}",
26+
"env": {
27+
"RUST_LOG": "rusty"
28+
},
29+
"terminal": "integrated"
2630
},
2731
{
2832
"type": "lldb",
@@ -43,7 +47,11 @@
4347
"args": [
4448
"demo"
4549
],
46-
"cwd": "${workspaceFolder}"
50+
"cwd": "${workspaceFolder}",
51+
"env": {
52+
"RUST_LOG": "rusty"
53+
},
54+
"terminal": "integrated"
4755
},
4856
]
4957
}

0 commit comments

Comments
 (0)