Debugging Python File with VSCode and Remote SSH

Hello,

i have tried to set up a remote database setup following this guide:

Unfortunatley it did still return “no object bound to db” . From what I believe it has to do with the frappe framework (e.g. frappe.db) not initializing properly in the VS Code Remote SSH Mode while debugging.

I tried to pin it down within frappe.database.py but the init-method of the database.py file is not being called at all when debugging from VSCode.