{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Rails App", "type": "Ruby", "request": "launch", // Current dir using env variable input in tasks.json "cwd": "${workspaceRoot}/test-project", // run bundle install before rails server "preLaunchTask": "Create test-project", "program": "bin/rails", "postDebugTask": "Delete test-project", // Setup debug binding IP and port. "args": ["s", "-b", "0.0.0.0", "-p", "3000"], } ] }