pycharm的断点调试

来源:3-7 从API获取数据

八尾猫1427

2018-06-23

老师你好:   

                查了一个下午的代码,代码是直接按照老师您上课的敲的,发觉无论怎么调试,调试器都没办法获取变量数据,服务器反馈也是404。我用了“http://t.yushu.im/v2/book/isbn/9787501524044”的地址是有数据返回的,实在不知道怎么回事,望老师能解答,谢谢。

:\Users\Alexander\.virtualenvs\fisher-PkKiK0vS\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm 2017.3.1\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 54381 --file D:/fisher/run.py

pydev debugger: process 13672 is connecting


Connected to pydev debugger (build 173.3942.36)

 * Serving Flask app "run" (lazy loading)

 * Environment: production

   WARNING: Do not use the development server in a production environment.

   Use a production WSGI server instead.

 * Debug mode: on

 * Restarting with stat

pydev debugger: process 7384 is connecting


 * Debugger is active!

 * Debugger PIN: 241-763-917

 * Running on http://0.0.0.0:81/ (Press CTRL+C to quit)

127.0.0.1 - - [23/Jun/2018 20:21:51] "GET /book/search/9787501524044 HTTP/1.1" 404 -


写回答

1回答

7七月

2018-06-26

我有点没明白你的意思,你可以把 最后你调用时候的url 贴出来看看吗?

0
0

Python Flask高级编程之从0到1开发《鱼书》精品项目

7月老师深入浅出剖析Flask核心机制,和你一起探讨Python高级编程

2735 学习 · 1267 问题

查看课程