PyCharm Debugger Not Working / Breakpoints Not Hit

Share
Workaround available Windows, macOS, Linux Updated November 14, 2026How we research

Quick answer

PyCharm uses debugpy for Python 3.9+ on local and WSL interpreters. Remote interpreters, Attach to Process and some run types are not covered, so switch the debugger mode to pydevd.

Most likely fix: Switch debugger mode to pydevd

How to fix it

Try these in order — the most common fix is first.

  1. 1. Switch debugger mode to pydevd

    1. Settings | Python | Debugger
    2. Set the Debugger mode field to pydevd, or use the selector in the Debug window's upper-right corner
    Did this fix it?
  2. 2. Check basic debug setup

    1. Set a breakpoint, right-click the file and choose Debug <filename>
    2. Review Settings | Python | Debugger options such as Debug just my code
    Did this fix it?

Symptoms

Debug starts but breakpoints are ignored, or debugging a remote or special run type fails.

Why it happens

  • Remote interpreter (SSH, Docker, Vagrant)
  • Attach to Process, Scrapy, Sphinx doctest, remote Jupyter, non-server manage.py tasks
  • Debugger mode mismatch

This guide also covers

  • pycharm debugger not working
  • pycharm breakpoint not hit
  • pycharm debug not stopping at breakpoint

Still not working?

If PyCharm keeps failing, you're not alone. See every PyCharm problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other PyCharm errors

All 10 PyCharm errors and fixes →