Skip to content

Commit aa31e05

Browse files
authored
Add note regarding debugging. (#22)
1 parent 36f790a commit aa31e05

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,16 @@ You can also set the options in one of the configuration files (``pytask.ini``,
9999
parallel_backend = loky # or processes or threads
100100
101101
102+
Warning
103+
-------
104+
105+
It is not possible to combine parallelization with debugging. That is why ``--pdb`` or
106+
``--trace`` deactivate parallelization.
107+
108+
If you parallelize the execution of your tasks using two or more workers, do not use
109+
``breakpoint()`` or ``import pdb; pdb.set_trace()`` since both will cause exceptions.
110+
111+
102112
Changes
103113
-------
104114

0 commit comments

Comments
 (0)