lobby2/.vscode/launch.json

55 lines
1.5 KiB
JSON
Raw Normal View History

2024-12-08 01:30:07 +00:00
{
// 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": "Master",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cli",
"env": {
"DUMP_PATH": "../tmp/nodes.json",
"CONFIG_PATH": "../tmp/config.json",
"NODE_DIR_PATH": "../tmp/node",
"TOKEN": "abcd"
},
"args": [
"master"
]
},
{
"name": "Node",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cli",
"env": {
"DUMP_PATH": "../tmp/nodes.json",
"CONFIG_PATH": "../tmp/config.json",
"NODE_DIR_PATH": "../tmp/node"
},
"args": [
"node"
]
},
{
"name": "Print",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cli",
"env": {
"DUMP_PATH": "../tmp/nodes.json",
"CONFIG_PATH": "../tmp/config.json",
"NODE_DIR_PATH": "../tmp/node"
},
"args": [
"print"
]
}
]
}