aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json192
1 files changed, 192 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..53fe623
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,192 @@
+{
+ // 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": [
+ // zone - library (unit tests)
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'zone'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=zone"
+ ],
+ "filter": {
+ "name": "zone",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}",
+ "presentation": {
+ "hidden": false,
+ "group": "zone",
+ }
+ },
+ // zone - executable
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug executable 'zone'",
+ "cargo": {
+ "args": [
+ "build",
+ "--bin=zone",
+ "--package=zone"
+ ],
+ "filter": {
+ "name": "zone",
+ "kind": "bin"
+ }
+ },
+ "args": [
+ "list"
+ ],
+ "cwd": "${workspaceFolder}",
+ "env": {
+ "ZONE_SOCK": "/tmp/zoned/zoned.sock"
+ },
+ "presentation": {
+ "hidden": false,
+ "group": "zone",
+ }
+ },
+ // zone - executable (unit tests)
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in executable 'zone'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--bin=zone",
+ "--package=zone"
+ ],
+ "filter": {
+ "name": "zone",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}",
+ "env": {
+ "ZONE_SOCK": "/tmp/zoned/zoned.sock"
+ },
+ "presentation": {
+ "hidden": false,
+ "group": "zone",
+ }
+ },
+ // zone_core - library (unit tests)
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'zone_core'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=zone_core"
+ ],
+ "filter": {
+ "name": "zone_core",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}",
+ "presentation": {
+ "hidden": false,
+ "group": "zone_core",
+ }
+ },
+ // zoned - library (unit tests)
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'zoned'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=zoned"
+ ],
+ "filter": {
+ "name": "zoned",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "env": {
+ "ZONE_SOCK": "/tmp/zoned/zoned.sock"
+ },
+ "cwd": "${workspaceFolder}",
+ "presentation": {
+ "hidden": false,
+ "group": "zoned",
+ }
+ },
+ // zoned - executable
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug executable 'zoned'",
+ "cargo": {
+ "args": [
+ "build",
+ "--bin=zoned",
+ "--package=zoned"
+ ],
+ "filter": {
+ "name": "zoned",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "env": {
+ "ZONE_SOCK": "/tmp/zoned/zoned.sock"
+ },
+ "cwd": "${workspaceFolder}",
+ "terminal": "console",
+ "presentation": {
+ "hidden": false,
+ "group": "zoned",
+ },
+ },
+ // zoned - executable (unit tests)
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in executable 'zoned'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--bin=zoned",
+ "--package=zoned"
+ ],
+ "filter": {
+ "name": "zoned",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "env": {
+ "ZONE_SOCK": "/tmp/zoned/zoned.sock"
+ },
+ "cwd": "${workspaceFolder}",
+ "presentation": {
+ "hidden": false,
+ "group": "zoned",
+ },
+ },
+ ]
+} \ No newline at end of file