- Install the ruby extension pack.
bundle install --binstubs
to havebin/<executable>
- create a launch.json and add the configuration:
{ "name": "TODO", "type": "Ruby", "request": "launch", "program": "${workspaceRoot}/bin/TODO", "cwd": "${workspaceRoot}", "args": [ "TODO" ], "env": { "TODO": "secret" } }
- replace the TODOs
- add the breakpoints you want, or not...
- run the beast and enjoy.
Created
August 19, 2020 12:34
-
-
Save BuonOmo/1b52857cfc02ee52a11c5184b180f9a7 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment