Skip to content

Instantly share code, notes, and snippets.

@xh3b4sd
Created August 6, 2022 23:07
Show Gist options
  • Save xh3b4sd/ccf298cf4179531dfe2c086fe6561652 to your computer and use it in GitHub Desktop.
Save xh3b4sd/ccf298cf4179531dfe2c086fe6561652 to your computer and use it in GitHub Desktop.
VS Code debugger configuration for debugging a command line tool in the current workspace.
{
// 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": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}",
"args": [
"sim",
"--tim",
"20-06-01",
"--pat",
"/Users/xh3b4sd/project/phoebetron/backup/dat/",
]
}
]
}
@xh3b4sd
Copy link
Author

xh3b4sd commented Aug 6, 2022

trader sim --tim 20-06-01 --pat /Users/xh3b4sd/project/phoebetron/backup/dat/

@xh3b4sd
Copy link
Author

xh3b4sd commented Feb 7, 2023

"env": {
  "LOG_LEVEL": "debug",
},

@xh3b4sd
Copy link
Author

xh3b4sd commented Feb 7, 2023

"program": "main.go",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment