4c2b1be3a4
* Basic VSCode configuration for building and debugging * Fix building and debugging in Windows * Move to contrib folder and add instructions
31 lines
652 B
JSON
31 lines
652 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"buildFlags": "",
|
|
"port": 2345,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}/main.go",
|
|
"env": {},
|
|
"args": ["web"],
|
|
"showLog": true
|
|
},
|
|
{
|
|
"name": "Launch (with SQLite3)",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"buildFlags": "-tags=\"sqlite\"",
|
|
"port": 2345,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}/main.go",
|
|
"env": {},
|
|
"args": ["web"],
|
|
"showLog": true
|
|
}
|
|
]
|
|
}
|