[英]How do I debug code pushed to my TFS build server?
I have a project that runs, builds, and passes all unit tests locally, but whose unit tests fail on the build server. 我有一个项目在本地运行,构建和传递所有单元测试,但其构建服务器上的单元测试失败。 I am using .NET 4.5, TFS, and VS 2012. Ideally I would like to step through the code that is executing on the server so I can gate on failing unit tests again.
我正在使用.NET 4.5,TFS和VS 2012.理想情况下,我想逐步执行在服务器上执行的代码,以便我可以再次关闭失败的单元测试。
Here's one way, 这是一种方式,
Debug directly on the build server 直接在构建服务器上进行调试
And another way if setting up networking for the VS Remote Debugger isn't a huge pain, 另一种方法是,为VS远程调试器设置网络并不是一个巨大的痛苦,
Remote debug the tests on the build server 远程调试构建服务器上的测试
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.