{
  "name": "atom-ide-debugger-native-gdb",
  "version": "0.7.3-dev",
  "main": "./main.js",
  "description": "GDB Native Debugger for Atom IDE.",
  "author": "NEEDS OWNER",
  "license": "BSD-3-Clause",
  "homepage": "https://nuclide.io/",
  "repository": "https://github.com/facebook/nuclide/tree/master/modules/atom-ide-debugger-node",
  "scripts": {
    "prepublish": "../scripts/prepublish.sh",
    "test": "node ../nuclide-jasmine/bin/jasmine-node-transpiled spec",
    "lint": "../../node_modules/.bin/eslint .",
    "flow": "../../node_modules/.bin/flow"
  },
  "providedServices": {
    "debugger.provider": {
      "description": "GDB native debugger engine.",
      "versions": {
        "0.0.0": "createDebuggerProvider"
      }
    }
  },
  "dependencies": {
    "big-integer": "1.6.17",
    "nuclide-commons": "0.7.3-dev",
    "nuclide-commons-atom": "0.7.3-dev",
    "nuclide-debugger-common": "0.7.3-dev",
    "nuclide-prebuilt-libs": "0.5.2",
    "nullthrows": "1.0.0",
    "react": "16.5.2",
    "rxjs-compat": "6.3.3",
    "vscode-debugadapter": "1.24.0",
    "vscode-debugprotocol": "1.24.0",
    "yargs": "3.32.0"
  },
  "devDependencies": {
    "nuclide-node-transpiler": "0.7.3-dev"
  },
  "package-deps": [
    "atom-ide-ui"
  ],
  "categories": [
    "Debuggers"
  ],
  "contributes": {
    "breakpoints": [
      {
        "language": "c"
      },
      {
        "language": "c++"
      },
      {
        "language": "cpp"
      }
    ],
    "debuggers": [
      {
        "type": "mi",
        "label": "Native debugging via gdb or lldb",
        "program": "./src/RunTranspiledServer.js",
        "runtime": "node",
        "configurationAttributes": {
          "launch": {
            "required": [
              "cwd",
              "program"
            ],
            "properties": {
              "cwd": {
                "type": "string",
                "description": "Working directory to run program in",
                "default": "${workspaceFolder}"
              },
              "program": {
                "type": "string",
                "description": "Absolute path of program to run"
              },
              "args": {
                "type": "array",
                "description": "Arguments to pass in on the command line",
                "items": {
                  "type": "string"
                }
              },
              "sourcePath": {
                "type": "string",
                "description": "Path to search for source files"
              },
              "sourcePaths": {
                "type": "array",
                "description": "An array of paths to search for source files. If present, overrides the single 'sourcePath' parameter."
              },
              "env": {
                "type": "string",
                "description": "Environment variables to start process with"
              }
            }
          },
          "attach": {
            "required": [
              "pid"
            ],
            "properties": {
              "pid": {
                "type": "number",
                "description": "Process id of the process to debug"
              },
              "sourcePath": {
                "type": "string",
                "description": "Path to search for source files"
              },
              "sourcePaths": {
                "type": "array",
                "description": "An array of paths to search for source files. If present, overrides the single 'sourcePath' parameter."
              },
              "stopOnAttach": {
                "type": "boolean",
                "description": "If true, target will break into debugger on attach",
                "default": false
              }
            }
          },
          "configurationSnippets": [
            {
              "label": "Native Debugger: Launch",
              "description": "A new configuration for launching a native program",
              "body": {
                "type": "mi",
                "request": "launch",
                "name": "Launch Program",
                "cwd": "${workspaceFolder}",
                "program": "${workspaceFolder}/a.out"
              }
            },
            {
              "label": "Native Debugger: Attach",
              "description": "A new configuration for attaching to a running native program",
              "body": {
                "type": "mi",
                "request": "attach",
                "name": "Attach to Program",
                "pid": 1
              }
            }
          ]
        }
      }
    ]
  }
}
