Submitted : |debug

**SPIP**

# Article submitted

The article "**|debug**
(https://www.spip.net/ecrire/?exec=article&id_article=6560)" is submitted
for publication. on Tuesday 19 May 2020.

* * *

## |debug

Tuesday 19 May 2020 , by [jack](.././?page=auteur&id_auteur=593&)

The filter `|debug` can be used to fine-tune a template; it displays
directly on the screen (for the webmaster only) the current value passed to
it. It can also be found in the log file `debug.log`.

The possible argument that we pass to him allows us to better find our way
if we have several debug points on the same page.

`[(#ID_ARTICLE|debug{id_article})] [(#ID_RUBRIQUE|debug{id_rubrique})]`
affichera :

    'id_article' = 12
    'id_rubrique' = 4

**Warning:** This filter must be removed after finishing development.

**P.S.**
The `|debug` filter is introduced in SPIP 2.1 and SPIP 3 on 3 June 2014.

— Sent by SPIP (https://www.spip.net/)

rubon199.jpg