Skip to content

Commit 145bcad

Browse files
authored
Merge branch 'master' into init_module_deepspeed_docs_fix
2 parents f056202 + f6fd9c0 commit 145bcad

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

_notebooks

docs/source-pytorch/debug/debugging_basic.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ A breakpoint stops your code execution so you can inspect variables, etc... and
3333
x = 2
3434
3535
# set breakpoint
36-
import pdb
37-
38-
pdb.set_trace()
36+
breakpoint()
3937
y = x**2
4038
4139
In this example, the code will stop before executing the ``y = x**2`` line.

0 commit comments

Comments
 (0)