From a7aa6b776878852b55c8e99684a391ce2772d41c Mon Sep 17 00:00:00 2001 From: Okechi Onyeje Date: Fri, 17 Mar 2017 14:01:37 -0400 Subject: [PATCH] vs code launcher config files --- Pearlception/.vscode/launch.json | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Pearlception/.vscode/launch.json diff --git a/Pearlception/.vscode/launch.json b/Pearlception/.vscode/launch.json new file mode 100644 index 0000000..96d10d7 --- /dev/null +++ b/Pearlception/.vscode/launch.json @@ -0,0 +1,61 @@ +{ + "version": "0.2.0", + "configurations": [ + /*{ + "name": "Debug Local File", + "type": "Ruby", + "request": "launch", + "cwd": "${workspaceRoot}", + "program": "${workspaceRoot}/main.rb" + }, + { + "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}", + "program": "${workspaceRoot}/bin/rails", + "args": [ + "server" + ] + }, + { + "name": "RSpec - all", + "type": "Ruby", + "request": "launch", + "cwd": "${workspaceRoot}", + "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" + } + ] +} \ No newline at end of file