Skip to content
Snippets Groups Projects
launch.json 3.23 KiB
Newer Older
Éloïs's avatar
Éloïs committed
  // 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",
Éloïs's avatar
Éloïs committed
      "name": "Debug unit tests in library 'duniter'",
Éloïs's avatar
Éloïs committed
      "cargo": {
Éloïs's avatar
Éloïs committed
        "args": ["test", "--no-run", "--lib", "--package=duniter"],
Éloïs's avatar
Éloïs committed
        "filter": {
Éloïs's avatar
Éloïs committed
          "name": "duniter",
Éloïs's avatar
Éloïs committed
          "kind": "lib"
Éloïs's avatar
Éloïs committed
      },
      "args": [],
      "cwd": "${workspaceFolder}"
    },
    {
      "type": "lldb",
      "request": "launch",
Éloïs's avatar
Éloïs committed
      "name": "Debug executable 'duniter'",
Éloïs's avatar
Éloïs committed
      "cargo": {
        "args": ["build"],
        "filter": {
Éloïs's avatar
Éloïs committed
          "name": "duniter",
Éloïs's avatar
Éloïs committed
          "kind": "bin"
        }
      },
      "args": ["--tmp", "--dev", "--execution", "Native"],
      "cwd": "${workspaceFolder}"
    },
    {
      "type": "lldb",
      "request": "launch",
Éloïs's avatar
Éloïs committed
      "name": "Debug unit tests in executable 'duniter'",
Éloïs's avatar
Éloïs committed
      "cargo": {
Éloïs's avatar
Éloïs committed
        "args": ["test", "--no-run", "--bin=duniter", "--package=duniter"],
Éloïs's avatar
Éloïs committed
        "filter": {
Éloïs's avatar
Éloïs committed
          "name": "duniter",
Éloïs's avatar
Éloïs committed
          "kind": "bin"
        }
      },
      "args": [],
      "cwd": "${workspaceFolder}"
    },
    {
      "type": "lldb",
      "request": "launch",
      "name": "Debug unit tests in library 'gdev-runtime'",
      "cargo": {
        "args": ["test", "--no-run", "--lib", "--package=gdev-runtime"],
        "filter": {
          "name": "gdev-runtime",
          "kind": "lib"
        }
      },
      "args": [],
      "cwd": "${workspaceFolder}"
    },
    {
      "type": "lldb",
      "request": "launch",
      "name": "Debug unit tests in library 'pallet-certification'",
      "cargo": {
        "args": ["test", "--no-run", "--lib", "--package=pallet-certification"],
        "filter": {
          "name": "pallet-certification",
          "kind": "lib"
        }
      },
      "args": [],
      "cwd": "${workspaceFolder}"
    },
    {
      "type": "lldb",
      "request": "launch",
      "name": "Debug unit tests in library 'pallet-identity'",
      "cargo": {
        "args": ["test", "--no-run", "--lib", "--package=pallet-identity"],
        "filter": {
          "name": "pallet-identity",
          "kind": "lib"
        }
      },
      "args": [],
      "cwd": "${workspaceFolder}"
    },
    {
      "type": "lldb",
      "request": "launch",
      "name": "Debug unit tests in library 'pallet-ud-accounts-storage'",
      "cargo": {
        "args": [
          "test",
          "--no-run",
          "--lib",
          "--package=pallet-ud-accounts-storage"
        ],
        "filter": {
          "name": "pallet-ud-accounts-storage",
          "kind": "lib"
        }
      },
      "args": [],
      "cwd": "${workspaceFolder}"
    },
    {
      "type": "lldb",
      "request": "launch",
      "name": "Debug unit tests in library 'pallet-universal-dividend'",
      "cargo": {
        "args": [
          "test",
          "--no-run",
          "--lib",
          "--package=pallet-universal-dividend"
        ],
        "filter": {
          "name": "pallet-universal-dividend",
          "kind": "lib"
        }
      },
      "args": [],
      "cwd": "${workspaceFolder}"
    }
  ]
}