Code for the Advent of Code event
aoc advent-of-code

Add VS Code launch config

+64 -7
-7
.gitignore
··· 116 116 compile_commands.json 117 117 CTestTestfile.cmake 118 118 119 - ### Code ### 120 - # Visual Studio Code - https://code.visualstudio.com/ 121 - .settings/ 122 - .vscode/ 123 - tsconfig.json 124 - jsconfig.json 125 - 126 119 ### Csharp ### 127 120 ## Ignore Visual Studio temporary files, build results, and 128 121 ## files generated by popular Visual Studio add-ons.
+64
.vscode/launch.json
··· 1 + { 2 + // Use IntelliSense to learn about possible attributes. 3 + // Hover to view descriptions of existing attributes. 4 + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 + "version": "0.2.0", 6 + "configurations": [ 7 + { 8 + "name": "Debug Local File", 9 + "type": "Ruby", 10 + "request": "launch", 11 + "cwd": "${fileDirname}", 12 + "program": "${file}" 13 + }, 14 + { 15 + "name": "Listen for rdebug-ide", 16 + "type": "Ruby", 17 + "request": "attach", 18 + "cwd": "${workspaceRoot}", 19 + "remoteHost": "127.0.0.1", 20 + "remotePort": "1234", 21 + "remoteWorkspaceRoot": "${workspaceRoot}" 22 + }, 23 + { 24 + "name": "Rails server", 25 + "type": "Ruby", 26 + "request": "launch", 27 + "cwd": "${workspaceRoot}", 28 + "program": "${workspaceRoot}/bin/rails", 29 + "args": [ 30 + "server" 31 + ] 32 + }, 33 + { 34 + "name": "RSpec - all", 35 + "type": "Ruby", 36 + "request": "launch", 37 + "cwd": "${workspaceRoot}", 38 + "program": "${workspaceRoot}/bin/rspec", 39 + "args": [ 40 + "-I", 41 + "${workspaceRoot}" 42 + ] 43 + }, 44 + { 45 + "name": "RSpec - active spec file only", 46 + "type": "Ruby", 47 + "request": "launch", 48 + "cwd": "${workspaceRoot}", 49 + "program": "${workspaceRoot}/bin/rspec", 50 + "args": [ 51 + "-I", 52 + "${workspaceRoot}", 53 + "${file}" 54 + ] 55 + }, 56 + { 57 + "name": "Cucumber", 58 + "type": "Ruby", 59 + "request": "launch", 60 + "cwd": "${workspaceRoot}", 61 + "program": "${workspaceRoot}/bin/cucumber" 62 + } 63 + ] 64 + }