{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "(lldb) Launch R",
      "type": "lldb",
      "request": "launch",
      "program": "/Library/Frameworks/R.framework/Resources/bin/exec/R",
      "args": [
        "--vanilla",
        "-e",
        "source('debug/debug.R')"
      ],
      "env": {
        "R_HOME" : "/Library/Frameworks/R.framework/Resources"
      },
      "terminal": "console",
      "stopOnEntry": false
    },
    {
      "name": "(lldb) Attach to R",
      "type": "lldb",
      "request": "attach",
      "pid": "${command:pickMyProcess}",
      "stopOnEntry": false
    }
  ]
}
