PyCharm. Debug mode configuration failed

I configured my Pycharm debug mode with these settings (Pycharm Debugging - #32 by conncampbell). With Run button everything is fine, but when I try debug mode the IDE shows me “No module named bench_helper”. “Process terminated with exit code 0” and stop the process.

Are you using erpnext on Docker ?
Does you Python interpreter into Setting is correctly set on you erpnext env python ?

I’m using erpnext and my interpreter is from ~/frappe-bench/env/bin/python3.8.