Problem with debugging multiprocessing children

I have a simple producer / worker script using multiprocessing, similar to the worker pool example here:

I checked the 'Attach to subprocesses automatically while debugging' box, and debugger executes with the following cmd-line:

C:\Python27\python.exe "C:\Program Files (x86)\JetBrains\PyCharm 2.0.2\helpers\pydev\" --multiproc --client --port 58986 --file

Breakpoints in the main thread are hit, however breakpoints in code executed by worker processes do not stop execution. Any ideas? Should I be able to debug child processes in PyCharm?


Patrick Marks

1 comment
Comment actions Permalink

Hi Patrick,

indeed there is a problem with debugging applications using multiprocessing under Windows.

I've create an issue for you to track the progress:


Please sign in to leave a comment.