Skip to content

Commit facd1cf

Browse files
authored
Merge branch 'master' into feature/19412_s2-support
2 parents c707bb8 + 831870a commit facd1cf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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)