You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
We have tried setting up Cloud Debugger for our application but kept getting: The debugger could not find a debug target for the application. Below are our environment specification:
runtime: python39handlers:
- url: /staticstatic_dir: static
- url: /.*script: auto
And the entirety of our entry point in our main.py:
if__name__=="__main__":
# NOTE(victor): GCP debuggertry:
# NOTE(victor): This client is only available for Linuximportgoogleclouddebuggergoogleclouddebugger.enable()
exceptImportError:
passapp.run(host="127.0.0.1", port=os.environ.get("PORT", 8080))
We have google-python-cloud-debugger in our requirements.txt. This was validated by uncommenting the import statement. The application restarted and worked fine.
We have scoured the web for an answer for could not find any.