## Debug `computers.debug(strid, ComputerDebugParams**kwargs) -> ActionResult` **post** `/computers/{id}/debug` Execute a shell command with optional timeout and output length limits. Optionally specify tab_id (browser sessions only). Deprecated: use /exec or /exec/sync instead. ### Parameters - `id: str` - `command: Optional[str]` - `max_output_length: Optional[int]` - `tab_id: Optional[str]` - `timeout_seconds: Optional[int]` ### Returns - `class ActionResult: …` - `error_message: Optional[str]` - `executed_tab_id: Optional[str]` - `page_context: Optional[V2GoBackendInternalTypesPageContext]` - `device_scale_factor: Optional[float]` - `is_main_tab: Optional[bool]` - `page_height: Optional[int]` - `page_width: Optional[int]` - `scroll_x: Optional[float]` - `scroll_y: Optional[float]` - `tab_id: Optional[str]` - `title: Optional[str]` - `url: Optional[str]` - `viewport_height: Optional[int]` - `viewport_width: Optional[int]` - `request_id: Optional[str]` - `result: Optional[Dict[str, object]]` - `status: Optional[str]` - `timestamp: Optional[str]` ### Example ```python import os from tzafon import Lightcone client = Lightcone( api_key=os.environ.get("TZAFON_API_KEY"), # This is the default and can be omitted ) action_result = client.computers.debug( id="id", ) print(action_result.executed_tab_id) ```