Skip to content

Instantly share code, notes, and snippets.

@jriverac
Created August 16, 2021 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jriverac/f93ed44acbdb04235a80157ef46681bd to your computer and use it in GitHub Desktop.
Save jriverac/f93ed44acbdb04235a80157ef46681bd to your computer and use it in GitHub Desktop.
{
// Utilizar IntelliSense para aprender acerca de los posibles atributos.
// Mantenga el puntero para ver las descripciones de los existentes atributos
// Para más información, visite: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"debugServer": 4711,
"configurations": [
{
"name": "Debug Local File",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"pathToDebugIde": "",
"program": "${workspaceRoot}/bin/rails",
"args": [
"server",
"-p",
"3001"
]
},
{
"name": "Listen for rdebug-ide",
"type": "Ruby",
"request": "attach",
"cwd": "${workspaceRoot}",
"remoteHost": "127.0.0.1",
"remotePort": "1234",
"remoteWorkspaceRoot": "${workspaceRoot}"
},
{
"name": "Rails server",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"pathToDebugIde": "/Users/jrivera/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/ruby-debug-ide-0.7.2",
"showDebugOutput": true,
"program": "${workspaceRoot}/bin/rails",
"args": [
"server"
]
},
{
"name": "RSpec - all",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"pathToDebugIde": "/Users/jrivera/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/ruby-debug-ide-0.7.2",
"showDebugOutput": true,
"remotePort": "1234",
"program": "${workspaceRoot}/bin/rspec",
"args": [
"-I",
"${workspaceRoot}"
]
},
{
"name": "RSpec - active spec file only",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/bin/rspec",
"args": [
"-I",
"${workspaceRoot}",
"${file}"
]
},
{
"name": "Cucumber",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/bin/cucumber"
},
{
"type": "Ruby",
"request": "attach",
"name": "Heroku",
"address": "localhost",
"port": 1234,
"protocol": "inspector",
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app"
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment