mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
fix: lldb unable to connect to the program
This commit is contained in:
22
.vscode/launch.json
vendored
22
.vscode/launch.json
vendored
@@ -7,24 +7,14 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "",
|
"program": "",
|
||||||
"linux": {
|
"linux": {
|
||||||
"program": "make",
|
"preLaunchTask": "(dbg) compile linux-x86_64",
|
||||||
"args": [
|
"program": "bin/linux-x86_64/${workspaceFolderBasename}",
|
||||||
"run"
|
"cwd": "bin/linux-x86_64/"
|
||||||
],
|
|
||||||
"env": {
|
|
||||||
"ARCH": "linux-x86_64",
|
|
||||||
"DEBUG": "1",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
"windows": {
|
"windows": {
|
||||||
"program": "make",
|
"preLaunchTask": "(dbg) compile win-x86_64",
|
||||||
"args": [
|
"program": "bin/win-x86_64/${workspaceFolderBasename}.exe",
|
||||||
"run"
|
"cwd": "bin/win-x86_64/"
|
||||||
],
|
|
||||||
"env": {
|
|
||||||
"ARCH": "win-x86_64",
|
|
||||||
"DEBUG": "1",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
15
.vscode/tasks.json
vendored
Normal file
15
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "(dbg) compile linux-x86_64",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "DEBUG=1 make linux-x86_64",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "(dbg) compile win-x86_64",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "DEBUG=1 make win-x86_64",
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user