LoginSignup
1
3

VSCode でPythonのマルチスレッドプログラムのデバッグ

Last updated at Posted at 2023-06-29

pythonでQThreadを使用したマルチスレッドプログラムを書いていたところ、ブレークポイントで停止しませんでした。
調べてみると以下のコード追加する必要があるとのこと。

main.py
import debugpy
debugpy.debug_this_thread()

VSCode公式に書かれてました。

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3