sparse/.vscode/launch.json
Andrew Rioux f72aa6e98d refactor: changed workflow to use Ubuntu
replaced dev container Dockerfile with one which uses
Ubuntu instead of Alpine. The Docker in Docker feature only
works on Ubuntu, not Debian or Alpine, and the LLDB extension
to enable debugging only supports Debian/Ubuntu
2023-05-06 23:35:38 -04:00

113 lines
3.3 KiB
JSON

{
// 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 unit tests in library 'pcap-sys'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=pcap-sys"
],
"filter": {
"name": "pcap-sys",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'nl-sys'",
"cargo": {
"args": [
"build",
"--bin=nl-sys",
"--package=nl-sys"
],
"filter": {
"name": "nl-sys",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'nl-sys'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=nl-sys",
"--package=nl-sys"
],
"filter": {
"name": "nl-sys",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'ex-bind-shell-backdoor'",
"cargo": {
"args": [
"build",
"--bin=ex-bind-shell-backdoor",
"--package=ex-bind-shell-backdoor"
],
"filter": {
"name": "ex-bind-shell-backdoor",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "attach",
"name": "Debug executable 'ex-bind-shell-backdoor' (attach)",
"program": "ex-bind-shell-backdoor"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'ex-bind-shell-client'",
"cargo": {
"args": [
"build",
"--bin=ex-bind-shell-client",
"--package=ex-bind-shell-client"
],
"filter": {
"name": "ex-bind-shell-client",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"name": "test launch",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/ex-bind-shell-backdoor",
"args": []
}
]
}