| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -202,6 +202,13 @@ debug> | |||
| 202 | 202 | * `repl`: Open debugger's repl for evaluation in debugging script's context | |
| 203 | 203 | * `exec expr`, `p expr`: Execute an expression in debugging script's context and | |
| 204 | 204 | print its value | |
| 205 | + * `profile`: Start CPU profiling session | ||
| 206 | + * `profileEnd`: Stop current CPU profiling session | ||
| 207 | + * `profiles`: List all completed CPU profiling sessions | ||
| 208 | + * `profiles[n].save(filepath = 'node.cpuprofile')`: Save CPU profiling session | ||
| 209 | + to disk as JSON | ||
| 210 | + * `takeHeapSnapshot(filepath = 'node.heapsnapshot')`: Take a heap snapshot | ||
| 211 | + and save to disk as JSON | ||
| 205 | 212 | ||
| 206 | 213 | ### Execution control | |
| 207 | 214 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments