Debug
Debug
0,00 €

Debug

0,00 €EUR0Debug

Des soucis lors de l'installation ou la conception d'un module ? Grâce à ce module, vous allez pouvoir vérifier l'ensemble des variables smarty.

download

Plus de détails

Version du module 2.3.0
Dernière mise à jour 03/11/2020
Compatible avec PrestaShop 1.6 Oui
Compatible avec PrestaShop 1.7 Oui

Rien de plus énervant que de ne pas savoir pourquoi l'affichage n'est pas conforme à ce que l'on souhaite... les données ont bien été envoyées, ce sont les bonnes données ??? Visualisez toutes les variables smarty en un clic.

 

Vous pouvez grâce à ce module permettre à une personne tiers (autre qu'un administrateur) voir l'ensemble des valeurs smarty sur n'importe quel page sans que les autres visiteurs ne se rendent compte de quoi que ce soit.

 

Une nouvelle version viens de voir le jour, incluant un aide au débogage de requête SQL ainsi qu'à la modification simple des principales valeurs de configuration de votre boutique. Ce nouveau module inclus le traitement de requêtes avec un affichage du résultat sous forme de tableau et/ou de texte pré-formaté :

 

Exemple de données affichées quand le module est activé :

Smarty Debug Console
included templates & config files (load time in seconds):
no templates included
assigned template variables:
{$ENT_QUOTES}3
{$SCRIPT_NAME}"/index.php"
{$adv_link}""
{$ajaxsearch}1
{$base_dir}"http://www.coeos.pro/"
{$base_dir_ssl}"http://www.coeos.pro/"
{$blockCategTree}Array (5)
id => 1
link => "http://www.coeos.pro/category.ph..."
name => "Accueil"
desc => ""
children => Array (3)
  0 => Array (5)
    id => "3"
    link => "http://www.coeos.pro/category.ph..."
    name => "Accessoires"
    desc => "Tous les accessoires à la mode pour ..."
    children => Array (0)
  1 => Array (5)
    id => "2"
    link => "http://www.coeos.pro/category.ph..."
    name => "iPods"
    desc => "Il est temps, pour le meilleur lecteu..."
    children => Array (0)
  2 => Array (5)
    id => "4"
    link => "http://www.coeos.pro/category.ph..."
    name => "Portables"
    desc => "Le tout dernier processeur Intel, un ..."
    children => Array (0)
{$branche_tpl_path}"[censuré]/coeos.pro/m..."
{$cart}Cart Object (13)
->id = null
->id_address_delivery = 0
->id_address_invoice = 0
->id_currency = 1
->id_customer = null
->id_guest = 35
->id_lang = 2
->id_carrier = null
->recyclable = 1
->gift = 0
->gift_message = null
->date_add = null
->date_upd = null
{$cart_qties}0
{$categories}Array (3)
0 => Array (3)
  id_category => "3"
  name => "Accessoires"
  link_rewrite => "accessoires-ipod"
1 => Array (3)
  id_category => "2"
  name => "iPods"
  link_rewrite => "musique-ipods"
2 => Array (3)
  id_category => "4"
  name => "Portables"
  link_rewrite => "portables-apple"
{$chemin}"http://www.coeos.pro/modules/ven..."
{$child}Array (5)
id => "4"
link => "http://www.coeos.pro/category.ph..."
name => "Portables"
desc => "Le tout dernier processeur Intel, un ..."
children => Array (0)
{$cmslink}Array (4)
id_cms => "4"
link_rewrite => "a-propos"
meta_title => "A propos"
link => "http://www.coeos.pro/cms.php?id_..."
{$cmslinks}Array (4)
0 => Array (4)
  id_cms => "1"
  link_rewrite => "livraison"
  meta_title => "Livraison"
  link => "http://www.coeos.pro/cms.php?id_..."
1 => Array (4)
  id_cms => "2"
  link_rewrite => "mentions-legales"
  meta_title => "Mentions légales"
  link => "http://www.coeos.pro/cms.php?id_..."
2 => Array (4)
  id_cms => "3"
  link_rewrite => "conditions-generales-de-ventes"
  meta_title => "Conditions d'utilisation"
  link => "http://www.coeos.pro/cms.php?id_..."
3 => Array (4)
  id_cms => "4"
  link_rewrite => "a-propos"
  meta_title => "A propos"
  link => "http://www.coeos.pro/cms.php?id_..."
{$come_from}"http://www.coeos.pro/"
{$content_dir}"http://www.coeos.pro/"
{$cookie}Cookie Object (0)
{$css_dir}"http://www.coeos.pro/themes/pres..."
{$currencies}Array (3)
0 => Array (9)
  id_currency => "2"
  name => "Dollar"
  iso_code => "USD"
  sign => "$"
  blank => "0"
  format => "1"
  decimals => "1"
  conversion_rate => "1.470000"
  deleted => "0"
1 => Array (9)
  id_currency => "1"
  name => "Euro"
  iso_code => "EUR"
  sign => "€"
  blank => "1"
  format => "2"
  decimals => "1"
  conversion_rate => "1.000000"
  deleted => "0"
2 => Array (9)
  id_currency => "3"
  name => "Pound"
  iso_code => "GBP"
  sign => "£"
  blank => "0"
  format => "1"
  decimals => "1"
  conversion_rate => "0.800000"
  deleted => "0"
{$currency}Currency Object (9)
->id = 1
->name = "Euro"
->iso_code = "EUR"
->sign = "€"
->blank = "1"
->conversion_rate = "1.000000"
->deleted = "0"
->format = "2"
->decimals = "1"
{$customerName}false
{$debug_by_coeos_dot_pro}1
{$f_currency}Array (9)
id_currency => "3"
name => "Pound"
iso_code => "GBP"
sign => "£"
blank => "0"
format => "1"
decimals => "1"
conversion_rate => "0.800000"
deleted => "0"
{$firstName}false
{$freeblock_content}"Bloc libre"
{$id_currency_cookie}1
{$image}"http://www.coeos.pro/modules/blo..."
{$img_cat_dir}"http://www.coeos.pro/img/c/"
{$img_col_dir}"http://www.coeos.pro/img/co/"
{$img_dir}"http://www.coeos.pro/themes/pres..."
{$img_lang_dir}"http://www.coeos.pro/img/l/"
{$img_manu_dir}"http://www.coeos.pro/img/m/"
{$img_prod_dir}"http://www.coeos.pro/img/p/"
{$img_ps_dir}"http://www.coeos.pro/img/"
{$img_ship_dir}"http://www.coeos.pro/img/s/"
{$img_sup_dir}"http://www.coeos.pro/img/su/"
{$isDhtml}true
{$js_dir}"http://www.coeos.pro/themes/pres..."
{$k}2
{$lang_iso}"fr"
{$language}Array (4)
id_lang => 3
name => "Español (Spanish)"
iso_code => "es"
active => 1
{$languages}Array (3)
0 => Array (4)
  id_lang => 1
  name => "English (English)"
  iso_code => "en"
  active => 1
1 => Array (4)
  id_lang => 2
  name => "Français (French)"
  iso_code => "fr"
  active => 1
2 => Array (4)
  id_lang => 3
  name => "Español (Spanish)"
  iso_code => "es"
  active => 1
{$lastName}false
{$link}Link Object (0)
{$logged}false
{$mail_dir}"/mails/"
{$mediumSize}Array (2)
width => "80"
height => "80"
{$meta_description}"Boutique propulsée par PrestaShop"
{$meta_keywords}"boutique, prestashop"
{$meta_title}"demo"
{$module_dir}"/modules/debug/"
{$module_template_dir}"/modules/debug/"
{$modules_dir}"/modules/"
{$navigationPipe}">"
{$page_name}"index"
{$pic_dir}"http://www.coeos.pro/upload/"
{$priceDisplay}0
{$productsViewedObj}Array (2)
0 => stdClass Object (9)
   ->scalar = "Product"
   ->active = "1"
   ->id = 8
   ->cover = "8-33"
   ->legend = "housse-portefeuille-en-cuir"
   ->name = "Housse portefeuille en cuir (iPod nan..."
   ->description_short = "<p>Cet étui en cuir tendance assure ..."
   ->link_rewrite = "housse-portefeuille-en-cuir-ipod-nano..."
   ->category_rewrite = "accessoires-ipod"
1 => stdClass Object (9)
   ->scalar = "Product"
   ->active = "1"
   ->id = 5
   ->cover = "5-15"
   ->legend = "macbook-air-1"
   ->name = "MacBook Air"
   ->description_short = "MacBook Air est ultra fin, ultra port..."
   ->link_rewrite = "macbook-air"
   ->category_rewrite = "portables-apple"
{$request_uri}"/"
{$roundMode}2
{$search_ssl}0
{$securepayment}"paiement-securise"
{$shop_name}"demo"
{$tag}Array (4)
name => "ipod touch tacticle"
times => "1"
fontSize => 10
class => "tag_level1"
{$tags}Array (10)
0 => Array (4)
  name => "apple"
  times => "3"
  fontSize => 18
  class => "tag_level3"
1 => Array (4)
  name => "ipod"
  times => "2"
  fontSize => 12
  class => "tag_level2"
2 => Array (4)
  name => "marche"
  times => "1"
  fontSize => 10
  class => "tag_level1"
3 => Array (4)
  name => "écouteurs"
  times => "1"
  fontSize => 10
  class => "tag_level1"
4 => Array (4)
  name => "superdrive"
  times => "1"
  fontSize => 10
  class => "tag_level1"
5 => Array (4)
  name => "macbookair"
  times => "1"
  fontSize => 10
  class => "tag_level1"
6 => Array (4)
  name => "shuffle"
  times => "1"
  fontSize => 10
  class => "tag_level1"
7 => Array (4)
  name => "nano"
  times => "1"
  fontSize => 10
  class => "tag_level1"
8 => Array (4)
  name => "casque"
  times => "1"
  fontSize => 10
  class => "tag_level1"
9 => Array (4)
  name => "ipod touch tacticle"
  times => "1"
  fontSize => 10
  class => "tag_level1"
{$title}"libre"
{$tpl_dir}"[censuré]/coeos.pro/t..."
{$use_taxes}1
{$viewedProduct}stdClass Object (9)
->scalar = "Product"
->active = "1"
->id = 5
->cover = "5-15"
->legend = "macbook-air-1"
->name = "MacBook Air"
->description_short = "MacBook Air est ultra fin, ultra port..."
->link_rewrite = "macbook-air"
->category_rewrite = "portables-apple"
assigned config file variables (outer template scope):
{#files#}Array (0)
{#vars#}Array (0)

15 autres produits dans la même catégorie