How to debug python code?



  • Hi, we are developing several applications on Onion Omega2. We are porting some of the projects from RPI where we have python apps. On RPI we are using VS Code with Remote SSH extension to write code directly as also debug code through VS Code with Python Debugger extension. When I want to connect from VS Code to Omega2 I get error of unsupported architecture.

    Please be so kind and share with me how do you manage coding on Omega2 and if there are any other VS Code extensions with which we could connect directly to Omega2 and also debug python code.

    Using print to debug and re-running code is time consuming and unfriendly.

    Thanks in advance for answers.



Looks like your connection to Community was lost, please wait while we try to reconnect.