mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
fix docs
This commit is contained in:
parent
dde726accf
commit
39106e272b
@ -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.
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user