Skip to content

Commit

Permalink
Add basic debug/build config for VS Code. Works in WSL (with CodeLLDB…
Browse files Browse the repository at this point in the history
… extension installed)
  • Loading branch information
hrydgard committed Jul 18, 2024
1 parent a76afa9 commit 77ad24d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "build/PPSSPPSDL",
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
23 changes: 23 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"tasks": [
{
"type": "shell",
"label": "C/C++: build",
"command": "./b.sh",
"args": [
"--debug",
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "compiler: /usr/bin/g++"
},
]
}

0 comments on commit 77ad24d

Please sign in to comment.