How do I activate the Interactive Console on App Engine?

后端 未结 2 1906
失恋的感觉
失恋的感觉 2020-12-03 03:11

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 wo

相关标签:
2条回答
  • 2020-12-03 03:53

    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
    
    0 讨论(0)
  • 2020-12-03 04:00

    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.

    0 讨论(0)
提交回复
热议问题