Skip to content

Instantly share code, notes, and snippets.

@SolemnJoker
Last active May 22, 2021 16:45
Show Gist options
  • Save SolemnJoker/8d423f16f808a96132799ba0680f5d61 to your computer and use it in GitHub Desktop.
Save SolemnJoker/8d423f16f808a96132799ba0680f5d61 to your computer and use it in GitHub Desktop.
[.vimspector.json] #vim #vimspector
{
"configurations": {
"Launch": {
"adapter": "vscode-cpptools",
"configuration": {
"request": "launch",
"program": "<path to binary>",
"args": [ ... ],
"cwd": "<working directory>",
"environment": [ ... ],
"externalConsole": true,
"MIMode": "<lldb or gdb>"
}
},
"Attach": {
"adapter": "vscode-cpptools",
"configuration": {
"request": "attach",
"program": "<path to binary>",
"MIMode": "<lldb or gdb>"
}
}
...
}
}
{
"configurations": {
"run": {
"adapter": "vscode-go",
"configuration": {
"request": "launch",
"program": "${fileDirname}",
"mode": "debug",
"dlvToolPath": "/home/xuwj/soft/go/bin/dlv"
}
}
}
}
{
"configurations": {
"<name>: Launch": {
"adapter": "debugpy",
"configuration": {
"name": "<name>: Launch",
"type": "python",
"request": "launch",
"cwd": "<working directory>",
"python": "/path/to/python/interpreter/to/use",
"stopOnEntry": true,
"console": "externalTerminal",
"debugOptions": [],
"program": "<path to main python file>"
}
}
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment