Skip to content
Open App

Debug Sessions

Debug Sessions bridge the gap between the web-based visual editor and your local infrastructure and are solely used for development purposes. By connecting a local runner to a Debug Session, you can execute graphs on your own machine while designing them in real-time in the browser.

The control bar manages the lifecycle of your Debug Session. By default, your debug session is turned off.

Once toggled on, a Debug Session Setup dialog appears. The setup steps depend on the type of graph you are debugging.

The setup dialog guides you through three steps:

  1. Download RunnerDownload the Actionforge runner for your platform.
  2. Set Working Directory (Optional) — Set a working directory for the runner. If not set, a random new temp folder is used.
  3. Copy Session Token — Copy the session token and paste it into your local runner to connect.

When you start your local runner, you will need to provide this token to authorize your machine to join the Debug Session.

Alternatively, instead of setting up the session from your browser, you can let the runner set it up using the --create-debug-session flag. This skips the setup dialog and prints a link to the console when you run your graph manually. Opening the link in your browser connects you to the already-running debug session immediately.

Terminal window
actrun --create-debug-session ./my_graph.act

Once connected, you will see the debug controls become active.

If the runner disconnects at any time, a modal dialog will appear allowing you to reconnect. The dialog shows the session token again and waits for the runner to reconnect.

All communication between your browser and your actrun program is end-to-end encrypted using AES-256-GCM . The Actionforge server acts only as a relay and cannot read or decrypt any of the messages exchanged during a Debug Session. This includes, but is not limited to, the graph file, config data like secrets or environment variables, and logs.

When a Debug Session is created, your browser creates a unique encryption key and is embedded into your session token. This token needs to be manually copied and pasted via your text clipboard from your browser to your actrun program, so the server never sees it.

The source code for the encryption mechanism in actrun is available here .