ITeye博客

icoding go 环境

jickcai · 2023-11-30 17:02 · 电脑技巧 · 移动开发 · Markdown

launch.json

{

// 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": "test",

"type": "go",

"request": "launch",

"mode": "debug",

"program": "${workspaceRoot}/main.go",

"env": {

"RUN_ENV": "test",

"LISTEN_PORT": "127.0.0.1:8080"

}

},

{

"name": "dev",

"type": "go",

"request": "launch",

"mode": "debug",

"program": "${workspaceRoot}/main.go",

"env": {

"RUN_ENV": "dev"

},

"dlvLoadConfig": {

"followPointers": true,

"maxVariableRecurse": 1,

"maxStringLen": 512,

"maxArrayValues": 64,

"maxStructFields": -1

}

}

]

}

<iframe style="display: none !important;"></iframe>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。