Skip to content

Commit d8590f2

Browse files
committed
enable trace
1 parent 11b7799 commit d8590f2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

articles/ai-foundry/how-to/flow-develop.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ n
139139

140140
#### View test result and trace (preview)
141141

142+
Tracing is disabled by default, to enable tracing you need to set the environment variable `PF_DISABLE_TRACING` to `false`. One way you can do this is by adding the following to the python node:
143+
144+
```python
145+
import os
146+
os.environ["PF_DISABLE_TRACING"] = "false"
147+
```
148+
142149
For the whole flow run, after you execute the flow, you can see the run status in the run banner. To view the trace for checking the result and observing the flow execution, you can select **View outputs** and then select the **trace** tab. You can see the input and output of the whole flow and each node, along with more detailed information for debugging. It's available during the running and after the run is completed.
143150

144151
##### Understand the trace view
23.6 KB
Loading

0 commit comments

Comments
 (0)