How to debug Google App Engine scripts with PyScripter

匿名 (未验证) 提交于 2019-12-03 07:36:14

问题:

The situation is as follows: I have downloaded the Google App Engine SDK. I have written my "helloworld" app that runs locally in my computer. I have to use PyScripter as IDE. I can't use Eclipse, that would not be a valid solution to my problem.

In PyScripter, I have set a "Run Configuration", so that an instance of the server runs locally (either in "run" mode or in "debug" mode), and can access the app via a webbrowser accessing "localhost".

Now, the problem is, breakpoints seem to be ignored. I set a breakpoint, reload the browser, and the response appears without the debugger stopping at the breakpoint I had set in my own function. I cannot debug at all.

The question is, how can I debug the app using the configuration I have described?

(Note: I am already using the "remote" python engine within PyScripter for running the local server)

回答1:

I think this is a PyScripter's bug. I tested in version 1.9.9.7 and the same problem is still there.



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!