blueloveTH 6 months ago
parent
commit
39106e272b
2 changed files with 8 additions and 0 deletions
  1. 4 0
      docs/features/debugging.md
  2. 4 0
      docs/features/profiling.md

+ 4 - 0
docs/features/debugging.md

@@ -10,6 +10,10 @@ To debug a pocketpy program, you need to install our VSCode extension first:
 
 https://marketplace.visualstudio.com/items?itemName=pocketpy.pocketpy
 
+!!!
+The VSCode extension requires pocketpy version >= `2.1.1`
+!!!
+
 ## Create a `launch.json` file
 
 Navigate to the Debug view in VSCode, and click on "create a launch.json file" link.

+ 4 - 0
docs/features/profiling.md

@@ -17,6 +17,10 @@ which records the time spent for each line. To visualize the report, please inst
 
 https://marketplace.visualstudio.com/items?itemName=pocketpy.pocketpy
 
+!!!
+The VSCode extension requires pocketpy version >= `2.1.1`
+!!!
+
 With pocketpy VSCode extension, press `F1` and type `pocketpy: Load Line Profiler Report`,
 select **1. the `profile_report.json` file; 2. the source root of the program**. Then you will see a nice visualization of the profiling result.