I have an issue and I'd like to use the Interactive console you get on the local dev server (http://localhost:8080/_ah/admin) on the cloud server to make sure a query is working as I expect.
I read before you can enable it - but how is it done?
Debugging the applicationSelect Run > Debug. In the dialog, click Google App Engine Standard Local Server. After the project builds, you can set breakpoints to debug your app.
Deploy your application to App Engine using the gcloud app deploy command. This command automatically builds a container image by using the Cloud Build service and then deploys that image to the App Engine flexible environment.
Nick's answer doesn't work anymore when using the "threadsafe" option. Instead, you have to use:
- url: /admin/.* script: google.appengine.ext.admin.application login: admin
Add the following to your app.yaml, before any .* handler:
- url: /admin/.* script: $PYTHON_LIB/google/appengine/ext/admin login: admin
Another option for your use-case is to enable remote_api, then use the remote_api_shell.py
tool included with the SDK, allowing you to test things from a local Python shell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With