Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试测试 Golang 的 GCE 调试器,遵循官方 文档中的步骤,演示应用程序托管在 Github 上。应用程序已启动并正在运行,但 GCE 开发人员控制台中的调试页面显示以下警告:
您正在查看 master,但调试目标 gcedebug-test-main-master 是从 master 部署的。要调试此部署,请切换到 master。
“切换到主”是一个链接,它什么都不做。
看起来像一个错误,或者我做错了什么?
这早已不复存在。Stackdriver Debugger 有一个全新的用户界面,它允许您使用来自多个位置的源代码,包括: - 无需上传的本地计算机 - 上传的源代码捕获(快照) - Google Cloud Source Repository - GitHub - Bitbucket
请让我知道这是否可以解决您遇到的问题。
我们已经更新了网页,您应该不会再看到这个错误了。事实上,现在您可以使用自己的本地源文件而无需上传,甚至无需查看源代码即可输入文件:行。