We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4081a commit bbaa00eCopy full SHA for bbaa00e
2 files changed
example/some_module.py
@@ -0,0 +1,6 @@
1
+"""Helper module."""
2
+
3
4
+def some_function(t):
5
+ """Another silly function."""
6
+ return t + " python"
example/test.py
@@ -0,0 +1,19 @@
+"""Sample program.
+Bring up the debugger with option-r.
+"""
+from some_module import some_function
7
8
9
+def do_something(x):
10
+ """A silly function."""
11
+ y = x
12
+ z = some_function(y) # Stepping in opens the relevant file
13
+ return z + " rules!"
14
15
+if __name__ == "__main__":
16
+ import sys
17
+ x = sys.argv[1] # Set a breakpoint with option-shift-R or palette
18
+ y = do_something(x)
19
+ print(y)
0 commit comments