Skip to content

Commit

Permalink
chore: Enable logging in VSCode debug view
Browse files Browse the repository at this point in the history
Prints any log calls in VSCodes debug console
  • Loading branch information
volsa committed Jul 15, 2024
1 parent 79abdb6 commit 673042f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
}
},
"args": [
"target/demo.st",
"target/demo.st"
],
"cwd": "${workspaceFolder}"
"cwd": "${workspaceFolder}",
"env": {
"RUST_LOG": "rusty"
},
"terminal": "console"
},
{
"type": "lldb",
Expand All @@ -43,7 +47,11 @@
"args": [
"demo"
],
"cwd": "${workspaceFolder}"
"cwd": "${workspaceFolder}",
"env": {
"RUST_LOG": "rusty"
},
"terminal": "console"
},
]
}

0 comments on commit 673042f

Please sign in to comment.