Go tests debugging

不打扰是莪最后的温柔 提交于 2019-12-10 03:14:47

问题


Is there a way to debug tests in Go using an IDE like IntelliJ ? I am using the Go plugin for intelliJ and seems like when providing a debug configuration, the debug button is disabled.


回答1:


It is possible in Gogland: 1.0 Preview, Build EAP 12, 172.3757.46.

This version has an expiration date: November 9, 2017, but there are already newer versions released and they probably have later expiration dates.




回答2:


Currently it's not possible to debug tests, please watch over this issue to see when this will be supported.



来源:https://stackoverflow.com/questions/34889319/go-tests-debugging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!