我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在VS Code中指定二进制文件的输出路径?

My launch.json:

{
"version": "0.2.0",
"configurations": [

    {
        "name": "Launch",
        "type": "go",
        "request": "launch",
        "mode": "debug",
        "remotePath": "",
        "port": 2345,
        "host": "127.0.0.1",
        "program": "${workspaceRoot}/app",
        "env": {
            "GO_ENV":"dev"
            },
        "args": [],
        "showLog": true
    }
]

}

I want that when I'm running debug binary file with name "debug", it appears in the "app" folder. How can I specify a different output path?

Try to use outDir setting for specifying.

近期文章

  • golang exec.Command在其他文件夹中
  • 进行App Engine调试
  • 如何解决以下Google Cloud Platform部署错误? [错误2]
  • 运行目录中的所有文件,运行./cmd/*.go是什么?
  • Bigquery.go导出作业比WebGUI慢
  • vim-go:搜索功能说明而不是声明
  • 去捕获模板变量和名称
  • google datastore:重大更改re:匿名结构字段?
  • Go中的装饰器,代码风格很重要
  • 使用单引号的golang sql.Tx Exec-语句需要0个参数
  • Couchbase连接到丢失的数据库没有错误
  • swagger go中可运行的POST的示例代码
  • Goasp上的Golang Web服务器local.rc如何自动启动?
  • 使用Golang重组Json
  • golang打印echo.Context值
  • 如何提取自己的符号表
  • 你叫(* receiverType).method(receiver)?
  • 为Tensorflow构建Go绑定时出错
  • 找不到软件包“ testing / internal / testdeps”
  • 选择嵌套数组对象-Mgo

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华