Does frappe has a python shell?

I want to debug in a interactive shell for a specific site.
Just like django manage.py shell.

Hello,

Run below commands in frappe-bench folder
bench use site-name
bench console

Thanks, Rohit

try bench frappe --ipython in frappe-bench folder

Thanks all!