# PyCharm Debugging

**URL:** <https://forum.codewithmosh.com/t/pycharm-debugging/5531>\
**Category:** Python\
**Created:** [June 15, 2021, 3:49pm UTC](https://forum.codewithmosh.com/t/pycharm-debugging/5531 "2021-06-15T15:49:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sruthijayanthirangan](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@sruthijayanthirangan](https://forum.codewithmosh.com/u/sruthijayanthirangan)\
**Post date:** [June 15, 2021, 3:49pm UTC](https://forum.codewithmosh.com/t/pycharm-debugging/5531/1 "2021-06-15T15:49:24Z")

</div>

Hi,

I’ve been using PyCharm, and I am unable to debug like Mr. Mosh has done using VSCode. When I attempt to debug on PyCharm, it keeps saying “Variables are not available”.

Hope someone can help!

---

<div class="post-metadata">

**Author:** ![elener](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/elener/32/1756_2.png) [@elener](https://forum.codewithmosh.com/u/elener)\
**Post date:** [June 18, 2021, 4:19pm UTC](https://forum.codewithmosh.com/t/pycharm-debugging/5531/2 "2021-06-18T16:19:01Z")

</div>

Did you set the **break point**? on the left, where are the numbers of your lines, you can click just next to it and will get a **RED DOT** (like you see on the picture below).  
**Do not set it** on the empty line, or a line in which you declare a function or a class and it should work 🙂 Try it.

 ![](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/4/4dc73e4b0dcb9c4689bb35e2b88ba0483e19ee28.png)
