2022-03-29 06:05:51 +08: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": "Launch GoTTY",
|
|
|
|
"type": "go",
|
2022-11-27 06:51:10 +08:00
|
|
|
"buildFlags": "-tags=dev",
|
2022-03-29 06:05:51 +08:00
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
|
|
|
"program": "${workspaceFolder}",
|
2022-11-28 13:07:54 +08:00
|
|
|
"args": ["-a", "127.0.0.1", "-w", "${env:SHELL}"]
|
2022-11-27 06:51:10 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Launch Chrome",
|
|
|
|
"type": "chrome",
|
|
|
|
"url": "http://127.0.0.1:8080",
|
|
|
|
"webRoot": "${workspaceFolder}/js",
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/**/*.js",
|
|
|
|
"!**/node_modules/**"
|
|
|
|
],
|
|
|
|
},
|
2022-03-29 06:05:51 +08:00
|
|
|
]
|
|
|
|
}
|