如何访问早期部署在GCP标准应用引擎上的实例代码?

huangapple go评论88阅读模式
英文:

How to access instance code already deployed on GCP Standard App engine long back

问题

在Google Cloud Platform的App Engine标准环境中,我们过去可以通过云调试器的“调试”选项来查看最近版本的代码快照。然而,似乎这个选项已经被弃用了,我现在无法访问代码。是否有其他可用的方法或工具,可以让我们访问和分析我们部署应用程序的最近版本的代码?非常感谢您的见解。

我尝试阅读了多篇GCP文章,但迄今为止没有关于将Node.js应用程序上传到标准应用引擎的答案。

英文:

In Google Cloud Platform's App Engine Standard environment, we used to have the "Debug" option through the cloud debugger, which allowed us to review snapshots of code in recent versions. However, it seems this option has been deprecated, and I'm now unable to access the code. Are there alternative methods or tools available that allow us to access and analyze the code for recent versions of our deployed application? Your insights would be greatly appreciated.

I tried reading multiple GCP article but so far no answers for Nodejs application upload to Standard app engine.

答案1

得分: 1

根据提供的文档信息:Cloud Debugger deprecation,文档中还提到了在 Cloud Debugger 关闭后的一种可能的解决方案来帮助调试需求。

Snapshot Debugger 是一个针对云应用的开源工具。它可以在应用程序运行时检查应用程序的状态,而不会减慢应用程序的运行速度。与传统的调试器不同,它始终处于开启状态,并可以从应用程序的任何部分捕获快照。

您可以在测试、开发和生产阶段使用它。在捕获应用程序状态时,它只会增加不到10毫秒的请求时间,通常用户不会察觉到。

要了解有关设置的更多信息,请参阅:CLI Command Reference

注意:

  • Cloud Debugger 已于2022年5月16日停用,并于2023年5月31日关闭服务。

  • Snapshot Debugger 不支持 Python 2.7。

英文:

According to the information provided in this documentation: Cloud Debugger deprecation

Also said in the docs that there is a possible work around to help with the debugging needs after the shutdown of the Cloud Debugger.

Snapshot Debugger is an open-source tool for cloud apps. It lets you check the app's status while it's running, without slowing it down. Unlike traditional debuggers, it's always on and captures snapshots from any part of the app.

You can use it in testing, development, and production stages. It adds less than 10ms to request time when capturing app state, usually unnoticed by users.

To know more about the set-up: CLI Command Reference

Note:

  • Cloud Debugger was deprecated on May 16, 2022 and the service was shut down on May 31, 2023.

  • Python 2.7 will not be supported by Snapshot Debugger

huangapple
  • 本文由 发表于 2023年8月8日 23:10:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76860890.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定