# Habilitar Debug

Este artículo muestra cómo habilitar el modo de depuración en WordPress para capturar errores sin exponerlos públicamente al visitante. Se explica cómo editar el archivo `wp-config.php` agregando o modificando unas líneas específicas.

De ese modo, los errores se registran en un archivo **debug.log** dentro de `wp-content/`, pero no se muestran en el sitio activo. Así puedes revisar qué falla (errores de PHP, conflictos, avisos) sin afectar la experiencia de tus usuarios.

Revise por favor nuestra guía: <https://sitioshispanos.blog/wordpress/wordpress-habilitar-el-registro-debug-para-ver-errores/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ayuda.sitioshispanos.com/menu-principal/guias/web-hosting/wordpress/errores-habituales/habilitar-debug.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
