开发者

How do I activate the Interactive Console on App Engine?

I have an issue and I'd like to use the Interactive conso开发者_高级运维le 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜