# Or set environment variable
DEBUG_MODE=true scripts/dev-runner.sh --restart
```

#### Service Details

**Backend Process**:

* Port: 8080
* Logs: `/tmp/opik-backend.log`
* PID file: `/tmp/opik-backend.pid`
* CORS enabled for local frontend
* Auto-built from `apps/opik-backend`

**Frontend Process**:

* Port: 5174
* Logs: `/tmp/opik-frontend.log`
* PID file: `/tmp/opik-frontend.pid`
* Hot-reload enabled
* Proxies API calls to backend at localhost:8080

**Infrastructure (Docker)**:

* Same services as Docker mode
* Ports mapped for local access

#### Accessing Services

* **UI**: [http://localhost:5174](http://localhost:5174) (local Vite dev server)
* **Backend API**: [http://localhost:8080](http://localhost:8080)
* **Infrastructure**: Same ports as Docker mode

#### SDK Configuration

After starting, configure the SDK to use your local instance:

```bash
opik configure --use_local
```

**IMPORTANT**: You must manually edit `~/.opik.config` to remove `/api` from the URL:

```ini
[opik]