How to debug custom platform

Hi, I am adding a new custom platform into platformio, but I am facing an issue about how to debug my custom platform in python? Could you provide a guidance, I searched in google, and github issues with key pdb platform, but found nothing.

Thanks
Huaqi

What exact problem are you having with which exact code?

1 Like

Actually it is not a exact problem with exact code, I just want to figure a way to debug the platformio python script, just like other python program using python debugger(pdb) or IntelliJ IDEA, but I didn’t figure out how to achieve it, so I ask this general question?