Created
January 24, 2024 15:13
-
-
Save wgcvc/7d3070ff4d05f8b5c6866294aec10c6d to your computer and use it in GitHub Desktop.
Visual Studio Code Launch Config for Golang (.vscode/launch.json)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // 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": "Go Dynamic Launch", | |
| "type": "go", | |
| "request": "launch", | |
| "mode": "auto", | |
| "program": "${fileDirname}", | |
| "env": { | |
| "APP_ENV": "dev", | |
| "APP_LOG_PATH": "${workspaceFolder}/app.log", | |
| }, | |
| "envFile": "${workspaceFolder}/.env", | |
| }, | |
| { | |
| "name": "PRISE Scheduler", | |
| "type": "go", | |
| "request": "launch", | |
| "mode": "auto", | |
| "program": "cmd/scheduler/price.go", | |
| "env": { | |
| "APP_ENV": "dev", | |
| "APP_LOG_PATH": "${workspaceFolder}/app.log", | |
| }, | |
| "envFile": "${workspaceFolder}/.env", | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment