elua/.vscode/launch.json

66 lines
1.9 KiB
JSON
Raw Normal View History

2024-01-22 03:53:53 +00:00
{
// 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 executable 'lua-ffi'",
"cargo": {
"args": [
"build",
"--bin=lua-ffi",
"--package=lua-ffi"
],
"filter": {
"name": "lua-ffi",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'lua-ffi'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=lua-ffi",
"--package=lua-ffi"
],
"filter": {
"name": "lua-ffi",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug a specific unit tests in executable 'lua-ffi'",
"cargo": {
"args": [
"test",
"--no-run",
"--package=lua-ffi",
"userdata::borrow::tests::ud_methods_borrow",
"--",
"--exact"
]/* ,
"filter": {
"name": "lua-ffi",
"kind": "bin"
} */
},
"args": [],
"cwd": "${workspaceFolder}"
2024-01-22 03:53:53 +00:00
}
]
}