Using Wing with pygame
Wing is a Python IDE that can be used to develop, test, and debug Python code written for pygame, an open source framework for game development with Python. Two versions of Wing are appropriate for use with this document: Wing Pro is the full-featured Python IDE for professional programmers, and Wing Personal is a free alternative with reduced feature set.
If you do not already have Wing installed, download it now.
To get started using Wing, refer to the tutorial in the Help menu in Wing or the Quickstart Guide.
You should be able to debug pygame code with Wing just by starting debug from the IDE. However, some versions of pygame running in full screen mode may not work properly and may crash Wing. If that is the case, use window mode instead while debugging.
This problem exists with other Python IDEs as well; we have not yet determined what the cause is and it appears to have been fixed in newer pygame versions.
Wing provides many other options and tools. For more information: