Skip to content

Commit b2d5376

Browse files
committed
Update opt-trace-format.md
1 parent cbf8865 commit b2d5376

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

v3/docs/opt-trace-format.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ without setting up a server.
141141
**If you open up your browser console, you will see the current trace entry being printed out as you step through the
142142
visualization, which can help you debug.**
143143

144+
P.S. to create a trace file in the appropriate format using the defaault OPT Python frontend, run `generate_json_trace.py` using the `--create_jsvar` option:
145+
146+
```python
147+
python generate_json_trace.py --create_jsvar=trace example.py > test-trace.js
148+
```
149+
144150

145151
## Execution Point Objects
146152

0 commit comments

Comments
 (0)