debugger#

#rai debugger [OPTIONS]

Open the RelationalAI (RAI) debugger.

Options#

OptionTypeDescription
--hostTextThe host address for the debugger. (Default: localhost)
--portIntegerThe port number for the debugger. (Default: 8080)
--profileTextThe 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

See Also#