Skip to main content
The following is intended as a primer on debugging OpenHands for Development purposes.

Server / VSCode

The following launch.json will allow debugging the agent, controller and server elements, but not the sandbox (Which runs inside docker). It will ignore any changes inside the workspace/ directory:
More specific debugging configurations which include more parameters may be specified:
Values in the snippet above can be updated such that:
  • t: the task
  • d: the openhands workspace directory
  • c: the agent
  • l: the LLM config (pre-defined in config.toml)
  • n: session name (e.g. eventstream name)