debugger#
#rai debugger [OPTIONS]
Open the RelationalAI (RAI) debugger.
Options#
Option | Type | Description |
---|---|---|
--host | Text | The host address for the debugger. (Default: localhost ) |
--port | Integer | The port number for the debugger. (Default: 8080 ) |
--profile | Text | The profile to use for the debugger. If missing, the active profile is used. |
Example:#
Use the debugger
command to open the RAI debugger:
#rai debugger
NOTE
You must invoke rai debugger
from the same directory from which you execute the Python interpreter.
As your project runs, debugging information is emitted to a debug.jsonl
file in your current working directory.
The contents of this file are read by a local web server which you can view at http://localhost:8080
.
You can configure the host and port for the debugger by specifying the --host
and --port
options:
#rai debugger --host 127.0.0.1 --port 8081
To run the debugger with a specific configuration profile, use the --profile
option:
#rai debugger --profile my_profile