DEBUGGING frappe erpnext custom development with PyCharm or any tool

I use eclipse as my IDE, and installed the PyDev plugin. I started the debug server, and used remote debugging, and was able to break step through code and have full access to the debug tools.

I had to add code to enable the debug.