In frappe we can enable vs code debugging while running the bench as described here: https://github.com/frappe/erpnext/wiki/VSCode-Debugging-for-Frappe-Python
However