---
title: "Debugging"
description: "Debugging"
resource: https://www.aiagents.nexus/docs/manual/troubleshooting/debugging
generated: { by: "process:nexus-agent-assets", at: 2026-09-07T09:13:03Z }
status: stable
---

# Debugging

## Enable Verbose Output

```bash
RUST_LOG=debug naos run researcher
```

## Check Audit Log

```bash
naos audit --agent researcher --days 1
```

## Inspect Agent State

```bash
naos inspect researcher --state
```

## Check Database

```bash
sqlite3 data/nexus.db ".tables"
sqlite3 data/nexus.db "SELECT * FROM agents"
```

## Dashboard Debugging

```bash
naos dashboard --port 4200
curl http://127.0.0.1:4200/api/agents | jq
```
