<p>I spent some time looking at it today, but none of it is clear. This link looked like it would be helpful, but there didn't seem to be an option to delve, and my project didn't build properly.</p>
<p><a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin/wiki/Documentation#debugging-a-go-project" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin/wiki/Documentation#debugging-a-go-project</a></p>
<p>Any thoughts?</p>
<hr/>**评论:**<br/><br/>dlsniper: <pre><p>Hi there. I'm one of the project contributors. How could I help out?
The docs are a bit out of date (my fault) but delve now supports Windows (+Mac &Linux) and the plugin ships with it so you don't need to do anything for it (provided you are on a 64bit machine, a limitation in delve right now).
To get this running you need to create a "Go Application" run configuration and the debugging button will be active.
Please feel free to ping me here or open an issue in the tracker or for real-time chat, try <a href="https://gitter.im/go-lang-plugin-org/go-lang-idea-plugin" rel="nofollow">https://gitter.im/go-lang-plugin-org/go-lang-idea-plugin</a>
Looking forward to help you out.</p></pre>mental_thinking: <pre><p>Is there a way to debug tests on packages using Delve/Intellij?</p>
<p>I am able to run <code>dlv test</code> from the command line (OSX), but I can't figure out how to do the same from Intellij.</p></pre>dlsniper: <pre><p>Not yet, this is my priority but I had some personal issues in the last month. I'm now resuming code contributions to the plugin so this should be fixed soon. Please keep an eye on: <a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1855" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1855</a></p></pre>mental_thinking: <pre><p>Awesome, thanks! Since I am working on GAE projects, I don't have a main function to run, so this will be really useful</p></pre>cube2222: <pre><p>Worked out of the box on windows for me.</p></pre>helinwang: <pre><p>If you have not already tried vs code + golang plugin, you can try it. It supports delve on mac.</p></pre>dan_82: <pre><blockquote>
<p><a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin/wiki/Documentation#debugging-a-go-project" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin/wiki/Documentation#debugging-a-go-project</a></p>
</blockquote>
<p>I've very reluctant to use VS (for no specific reason.. simply don't trust microsoft will keep this friendly policy for ever, I remember Balmer era..)
Nevertheless I really would like some screencast of someone using VS studios with basic go features in practice (code generation for testing, code linters, code revision and specifically debugger).
That would be super cool!!.</p></pre>dan_82: <pre><p>I take it back!
Just learned that MS made the VScode open source. Looking into it right now! </p></pre>dlsniper: <pre><p>IntelliJ is Open-Source, <a href="https://github.com/JetBrains/intellij-community/" rel="nofollow">https://github.com/JetBrains/intellij-community/</a>, and so is the Go plugin :)</p></pre>konart: <pre><p>Well, VSCode is Atom on steroids...</p></pre>dan_82: <pre><p>I have a hard time believing in this.
If that's true, then porting the huge number of extensions from Atom to VScode should be a minor work.
It doesn't seems to be. As VScode is out there for about one year and still has a limited number of extension.
That said, I hope you're right. Using all existing extensions in atom is a super plus for VScode.</p></pre>konart: <pre><blockquote>
<p>I have a hard time believing in this.</p>
</blockquote>
<p>Believe what? They both use Electron and Chromium as their starting point. But while Atom team is more into making a reach editor with pluging support - MS is trying to make this an IDE.</p>
<p>Maybe saying "Atom on stedoids" was kind of misleading, but that's pretty much what it is. Even the main executable is atom.exe in both cases, lol.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传