using LLDB task to debug in vscode

macos-click-through
exoticus 5 years ago
parent 70cf0a52b9
commit c2b2d12758

@ -5,15 +5,16 @@
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"name": "Debug",
"type": "lldb",
"request": "launch",
"program": "${workspaceRoot}/target/debug/neovide.exe",
"program": "${workspaceRoot}/target/debug/neovide",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true
"env": {
"RUST_LOG": "info",
"RUST_BACKTRACE": "1"
}
},
]
}

18
.vscode/tasks.json vendored

@ -0,0 +1,18 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "run",
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Loading…
Cancel
Save