Created
December 19, 2020 07:11
-
-
Save ps-jessejjohnson/4e300b88c28aa7f54cafda5e1171623f to your computer and use it in GitHub Desktop.
Debugging Ruby with VS Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug Test File (rspec)", | |
"type": "Ruby", | |
"request": "launch", | |
"cwd": "${workspaceRoot}", | |
"program": "/Users/jessejohnson/.rvm/gems/ruby-2.7.0@oris-intel-bot/bin/rspec", | |
"args": ["-fd", "${relativeFile}"], | |
"useBundler": true, | |
"pathToRDebugIDE": "/Users/jessejohnson/.rvm/gems/ruby-2.7.0@oris-intel-bot/gems/ruby-debug-ide-2.3.1", | |
"pathToBundler": "/Users/jessejohnson/.rvm/gems/ruby-2.7.0@oris-intel-bot/wrappers/bundle", | |
"showDebuggerOutput": true | |
}, | |
{ | |
"name": "Debug All Tests (rspec)", | |
"type": "Ruby", | |
"request": "launch", | |
"cwd": "${workspaceRoot}", | |
"program": "/Users/jessejohnson/.rvm/rubies/ruby-2.7.0/bin/rspec", | |
"args": [], | |
"pathToRDebugIDE": "/Users/jessejohnson/.rvm/gems/ruby-2.7.0@oris-intel-bot/gems/ruby-debug-ide-2.3.1", | |
"pathToBundler": "/Users/jessejohnson/.rvm/gems/ruby-2.7.0@oris-intel-bot/wrappers/bundle", | |
"showDebuggerOutput": true, | |
"useBundler": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment