feat 增加vscode调试
This commit is contained in:
parent
39a3d6066b
commit
9cfd944760
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
// 使用 IntelliSense 了解相关属性。
|
||||
// 悬停以查看现有属性的描述。
|
||||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Package in Debug Mode",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "./bin/syz.go",
|
||||
"args": ["start"]
|
||||
},
|
||||
{
|
||||
"name": "Launch Package in Prod Mode",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "./bin/syz.go",
|
||||
"args": ["start", "--mode", "prod"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue