.vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Local File",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/main.rb",
"useBundler": true,
},
{
"name": "Listen for rdebug-ide",
"type": "Ruby",
"request": "attach",
"cwd": "${workspaceRoot}",
"remoteHost": "127.0.0.1",
"remotePort": "1234",
"remoteWorkspaceRoot": "${workspaceRoot}"
},
{
"name": "RSpec - all",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/bin/rspec",
"useBundler": true,
"showDebuggerOutput": true,
"env": {
"DISABLE_PROXY": true,
"SSL_VERIFY_PEER": false,
"USE_VCR": false,
"PVE_URL": "https://192.168.56.101:8006/api2/json",
"PVE_USERNAME": "root@pam",
"PVE_PASSWORD": ""
},
"args": [
"-I",
"${workspaceRoot}"
]
},
{
"name": "RSpec - active spec file only",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/bin/rspec",
"useBundler": true,
"showDebuggerOutput": true,
"env": {
"DISABLE_PROXY": true,
"SSL_VERIFY_PEER": false,
"USE_VCR": false,
"PVE_URL": "https://192.168.56.101:8006/api2/json",
"PVE_USERNAME": "root@pam",
"PVE_PASSWORD": ""
},
"args": [
"-I",
"${workspaceRoot}",
"${file}"
]
},
{
"name": "bundle exec rake spec - all",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/bin/rake",
"useBundler": true,
"showDebuggerOutput": true,
"env": {
"DISABLE_PROXY": true,
"SSL_VERIFY_PEER": false,
"USE_VCR": false,
"PVE_URL": "https://192.168.56.101:8006/api2/json",
"PVE_USERNAME": "root@pam",
"PVE_PASSWORD": ""
},
"args": [
"spec",
"-I",
"${workspaceRoot}",
"${file}"
]
},
{
"name": "Cucumber",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/bin/cucumber"
}
]
}