template / windows / files / .vscode / launch.json
Branch windows · default branch · all branches
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 | { |
| 9 | "name": "Launch tests", |
| 10 | "type": "go", |
| 11 | "request": "launch", |
| 12 | "mode": "test", |
| 13 | "program": ".", |
| 14 | "args": [] |
| 15 | }, |
| 16 | { |
| 17 | "name": "Run: template", |
| 18 | "type": "go", |
| 19 | "request": "launch", |
| 20 | "mode": "auto", |
| 21 | "program": ".", |
| 22 | "args": [] |
| 23 | }, |
| 24 | { |
| 25 | "name": "Run: template reset", |
| 26 | "type": "go", |
| 27 | "request": "launch", |
| 28 | "mode": "auto", |
| 29 | "program": ".", |
| 30 | "args": [ |
| 31 | "reset", |
| 32 | ] |
| 33 | }, |
| 34 | { |
| 35 | "name": "Run: template list", |
| 36 | "type": "go", |
| 37 | "request": "launch", |
| 38 | "mode": "auto", |
| 39 | "program": ".", |
| 40 | "args": [ |
| 41 | "list", |
| 42 | ] |
| 43 | }, |
| 44 | { |
| 45 | "name": "Run: template get work", |
| 46 | "type": "go", |
| 47 | "request": "launch", |
| 48 | "mode": "auto", |
| 49 | "program": ".", |
| 50 | "args": [ |
| 51 | "get", |
| 52 | "work" |
| 53 | ] |
| 54 | }, |
| 55 | { |
| 56 | "name": "Run: template blog", |
| 57 | "type": "go", |
| 58 | "request": "launch", |
| 59 | "mode": "auto", |
| 60 | "program": ".", |
| 61 | "args": [ |
| 62 | "blog", |
| 63 | ] |
| 64 | }, |
| 65 | { |
| 66 | "name": "Run: template daily", |
| 67 | "type": "go", |
| 68 | "request": "launch", |
| 69 | "mode": "auto", |
| 70 | "program": ".", |
| 71 | "args": [ |
| 72 | "daily" |
| 73 | ] |
| 74 | }, |
| 75 | { |
| 76 | "name": "Run: template work test-project w/ in-memory defaults", |
| 77 | "type": "go", |
| 78 | "request": "launch", |
| 79 | "mode": "auto", |
| 80 | "program": ".", |
| 81 | "args": [ |
| 82 | "work", |
| 83 | "test-project", |
| 84 | ], |
| 85 | "env": { |
| 86 | "TEMPLATE_USE_DEFAULT_CONFIG": "true", |
| 87 | }, |
| 88 | }, |
| 89 | { |
| 90 | "name": "Run: template --profile work --project testProj", |
| 91 | "type": "go", |
| 92 | "request": "launch", |
| 93 | "mode": "auto", |
| 94 | "program": ".", |
| 95 | "args": [ |
| 96 | "--profile", |
| 97 | "work", |
| 98 | "--project", |
| 99 | "testProj", |
| 100 | ] |
| 101 | }, |
| 102 | { |
| 103 | "name": "Run: template note whoa", |
| 104 | "type": "go", |
| 105 | "request": "launch", |
| 106 | "mode": "auto", |
| 107 | "program": ".", |
| 108 | "args": [ |
| 109 | "note", |
| 110 | "whoa" |
| 111 | ] |
| 112 | }, |
| 113 | { |
| 114 | "name": "Run: template --profile test --name blah --extras-yaml extras-test.yaml --log-level debug", |
| 115 | "type": "go", |
| 116 | "request": "launch", |
| 117 | "mode": "auto", |
| 118 | "program": ".", |
| 119 | "args": [ |
| 120 | "--profile", |
| 121 | "test", |
| 122 | "--name", |
| 123 | "blah", |
| 124 | "--extras-yaml", |
| 125 | "extras-test.yaml", |
| 126 | "--log-level", |
| 127 | "debug", |
| 128 | ] |
| 129 | } |
| 130 | ] |
| 131 | } |