Skip to content

Instantly share code, notes, and snippets.

@senyai
Last active November 18, 2025 14:25
Show Gist options
  • Select an option

  • Save senyai/4a8cc7ea58f2ff3182a511f2579210e0 to your computer and use it in GitHub Desktop.

Select an option

Save senyai/4a8cc7ea58f2ff3182a511f2579210e0 to your computer and use it in GitHub Desktop.
Fix `breakpoint()` in PyQt5 or PyQt6
# breakpoint() won't work without it
from PyQt5 import QtCore
QtCore.pyqtRemoveInputHook()
breakpoint()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment