Troubleshoot Windows configuration Visual Studio Code debugging Golang Environment issues

Source: Internet
Author: User

Writing this essay is for Mark's next few questions in the process.

1. The specific process can be referred to Https://www.cnblogs.com/JerryNo1/p/5412864.html,Jerry Bo Master wrote very detailed

1) No Code intelligence hint, cmd execute command go get-u-v github.com/nsf/gocode after restart vs code will take effect, but according to Jerry's tutorial can bypass this problem

2) Run single test tips running gcc failed:exec: "gcc": Executable file not found in%PATH%

Need to install GCC environment, because I am a 64-bit operating system, download 64-bit compilation package

In fact, before I installed GCC successfully, but the runtime prompt Sorry, unimplemented:64-bit mode not compiledin, this is because Vs_code is 64 bit but GCC I installed 32 bits earlier,

Re-install GCC into the top 64-bit version.

Troubleshoot Windows configuration Visual Studio Code debugging Golang Environment issues

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.