How to debug erpnext

Thanks,

Sorry i do not understand where to place this script ? When I add a normal py file, it complains with this error message “ImportError: No module named frappe”

Regards

place it at root of the project

Hi @abdurrehman82 I’m sorry for my lack of knowledge but where’s the root of the project? is the init.py of my own app?