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", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "(Windows) Launch", "name": "Debug",
"type": "cppvsdbg", "type": "lldb",
"request": "launch", "request": "launch",
"program": "${workspaceRoot}/target/debug/neovide.exe", "program": "${workspaceRoot}/target/debug/neovide",
"args": [], "args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}", "cwd": "${workspaceRoot}",
"environment": [], "env": {
"externalConsole": true "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