> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # enableDebugRoutes > Enable debug and testing routes on the agent's HTTP server. [ref-agentbase]: /docs/server-sdks/reference/typescript/agents/agent-base Enable debug routes on the agent's Hono server for development and testing. In the TypeScript SDK, debug routes (health, ready, debug\_events) are automatically registered in `getApp()`; this method exists as a no-op stub for API parity with the Python SDK. ## **Parameters** None. ## **Returns** [`AgentBase`][ref-agentbase] -- Returns `this` for method chaining. ## **Example** ```typescript {5} import { AgentBase } from '@signalwire/sdk'; const agent = new AgentBase({ name: 'dev-agent', route: '/dev' }); agent.setPromptText('You are a helpful assistant.'); agent.enableDebugRoutes(); await agent.serve(); ``` > Enable debug and testing routes on the agent's HTTP server.