I'm using python as a scripting language for game logic in the coco2d-x game engine. I know how to debug python scripts in Pycharm.
How can I debug my python scripts when they are called by another program? In my case, it's a simulator provided by the game engine. If scripts are not started inside Pycharm, can Pycharm still somehow capture the scripts' excecuting process?
I tried to use "attach to a local process", but can't find any. I've read related topics like "how to step through python code","remote debug". But can't find similar topics that address my problem.