简体   繁体   English

PyCharm - Django shell/shell_plus 处于调试模式 - 自动完成

[英]PyCharm - Django shell/shell_plus in Debug mode - autocomplete

I've created a configuration in PyCharm that allows me to debug Django shell/shell_plus.我在PyCharm中创建了一个配置,允许我调试 Django shell/shell_plus。 It works correctly but I would like it also to autocomplete methods and attributes like it does when executed this way:它可以正常工作,但我也希望它能够像以这种方式执行时那样自动完成方法和属性:

python manage.py shell_plus

It probably needs to use iPython which I installed but I don't know where to set this up.它可能需要使用我安装的iPython ,但我不知道在哪里设置它。

在此处输入图像描述

Do you know what to do?你知道该怎么做吗?

From the docs :文档

python manage.py shell_plus --ipython

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM