# How can I use debug with Processing Python?

**URL:** <https://discourse.processing.org/t/how-can-i-use-debug-with-processing-python/44868>\
**Category:** Processing.py\
**Created:** [July 30, 2024, 11:22pm UTC](https://discourse.processing.org/t/how-can-i-use-debug-with-processing-python/44868 "2024-07-30T23:22:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elena](https://avatars.discourse-cdn.com/v4/letter/e/278dde/32.png) [@Elena](https://discourse.processing.org/u/Elena)\
**Post date:** [July 30, 2024, 11:22pm UTC](https://discourse.processing.org/t/how-can-i-use-debug-with-processing-python/44868/1 "2024-07-30T23:22:44Z")

</div>

Can I use debug with Processing Python?

How can I use debug with Processing Python?

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [July 31, 2024, 1:18pm UTC](https://discourse.processing.org/t/how-can-i-use-debug-with-processing-python/44868/2 "2024-07-31T13:18:31Z")

</div>

Hi!

The debug feature in the Processing IDE is only available in Java mode.

I don’t want to sound like a pushy py5 fanboy (hopefully I’m a benign py5 fanboy), but using py5 in Thonny IDE you can use Thonny’s debug feature if you use py5 in [module mode](https://py5coding.org/content/py5_modes.html#module-mode).

UPDATE: I had a closer look and py5 needs some improvement still for the Thonny IDE debug to be useful… but it looks promising. The error messages are very good in general.
