You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/docs/advanced/debug.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,56 +3,56 @@ sidebar_position: 2
3
3
title: Debug
4
4
---
5
5
6
-
# Debug do Phlow
6
+
# Phlow Debugging
7
7
8
-
O modo debug pausa a execucao antes de cada step e permite inspecionar o contexto (main/payload), o step atual e o historico de execucao via um servidor TCP e o TUI inspector.
8
+
Debug mode pauses execution before each step and lets you inspect the context (main/payload), the current step, and the execution history through a TCP server and the TUI inspector.
9
9
10
-
## Ativando o debug
10
+
## Enabling debug
11
11
12
-
O debug eh habilitado por variavel de ambiente. Use `PHLOW_DEBUG=true`:
12
+
Debug is enabled via an environment variable. Use `PHLOW_DEBUG=true`:
13
13
14
14
```bash
15
-
PHLOW_DEBUG=true cargo run -p phlow-runtime -- ./examples/qualquer.phlow
15
+
PHLOW_DEBUG=true phlow./examples/any.phlow
16
16
```
17
17
18
-
Por padrao o servidor debug escuta em `0.0.0.0:31400`. Para mudar a porta, use `PHLOW_DEBUG_PORT`:
18
+
By default the debug server listens on `0.0.0.0:31400`. To change the port, use `PHLOW_DEBUG_PORT`:
19
19
20
20
```bash
21
-
PHLOW_DEBUG=true PHLOW_DEBUG_PORT=31400 cargo run -p phlow-runtime -- ./examples/qualquer.phlow
0 commit comments