Twig Debugger show real var_dump instead of the twig debug output The Next CEO of Stack OverflowHow to deactivate Xdebug way to dump data in Twig's dump() in Symfony 4Executing LINQ-to-SQL Debug Output?How to Debug Variables in Smarty like in PHP var_dump()Debugging dump files in Visual StudioHow to var_dump variables in twig templates?Symfony 2 Twig |date() not working?How to debug twig?Symfony 2 Debug Toolbar not showing, breaks HTML in dev environmentSymfony 2.3 form is not passing all fields to formViewHow do I debug jQuery events using Firefox debugger?Strange behaviour while debugging Call to a member function format() on boolean

Describing a person. What needs to be mentioned?

Is HostGator storing my password in plaintext?

Term for the "extreme-extension" version of a straw man fallacy?

Apart from "berlinern", do any other German dialects have a corresponding verb?

Only print output after finding pattern

How do spells that require an ability check vs. the caster's spell save DC work?

Why didn't Khan get resurrected in the Genesis Explosion?

How to be diplomatic in refusing to write code that breaches the privacy of our users

Rotate a column

Was a professor correct to chastise me for writing "Prof. X" rather than "Professor X"?

How to get regions to plot as graphics

The King's new dress

How should I support this large drywall patch?

How to use tikz in fbox?

Why does standard notation not preserve intervals (visually)

Why did we only see the N-1 starfighters in one film?

Why do remote companies require working in the US?

Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?

What makes a siege story/plot interesting?

What is the point of a new vote on May's deal when the indicative votes suggest she will not win?

Anatomically Correct Mesopelagic Aves

How do scammers retract money, while you can’t?

Is it a good idea to use COLUMN AS (left([Another_Column],(4)) instead of LEFT in the select?

What do "high sea" and "carry" mean in this sentence?



Twig Debugger show real var_dump instead of the twig debug output



The Next CEO of Stack OverflowHow to deactivate Xdebug way to dump data in Twig's dump() in Symfony 4Executing LINQ-to-SQL Debug Output?How to Debug Variables in Smarty like in PHP var_dump()Debugging dump files in Visual StudioHow to var_dump variables in twig templates?Symfony 2 Twig |date() not working?How to debug twig?Symfony 2 Debug Toolbar not showing, breaks HTML in dev environmentSymfony 2.3 form is not passing all fields to formViewHow do I debug jQuery events using Firefox debugger?Strange behaviour while debugging Call to a member function format() on boolean










0















Normally, when debugging with 'dump()' in twig, I get those tiny black little boxes, in which I can see my output,and open objects by clicking on an arrow. I don't know what I have changed, but now I get real var_dumps, means, I see full objects with 1000 lines instead of the black boxes.



Does anybody know, how to turn back the "old" behaviour?










share|improve this question






















  • Symfony version?

    – AythaNzt
    Mar 7 at 14:15











  • Perhaps related

    – DarkBee
    Mar 7 at 14:16











  • Oh, sorry, it is symfony 4.2.4

    – j0nnybrav0
    Mar 7 at 14:23











  • Yes, the relation is true. I have xdebug running on the system, too, but nothing works. It still displays the xdebug dump instead of symfonys twig dump.

    – j0nnybrav0
    Mar 7 at 15:31















0















Normally, when debugging with 'dump()' in twig, I get those tiny black little boxes, in which I can see my output,and open objects by clicking on an arrow. I don't know what I have changed, but now I get real var_dumps, means, I see full objects with 1000 lines instead of the black boxes.



Does anybody know, how to turn back the "old" behaviour?










share|improve this question






















  • Symfony version?

    – AythaNzt
    Mar 7 at 14:15











  • Perhaps related

    – DarkBee
    Mar 7 at 14:16











  • Oh, sorry, it is symfony 4.2.4

    – j0nnybrav0
    Mar 7 at 14:23











  • Yes, the relation is true. I have xdebug running on the system, too, but nothing works. It still displays the xdebug dump instead of symfonys twig dump.

    – j0nnybrav0
    Mar 7 at 15:31













0












0








0








Normally, when debugging with 'dump()' in twig, I get those tiny black little boxes, in which I can see my output,and open objects by clicking on an arrow. I don't know what I have changed, but now I get real var_dumps, means, I see full objects with 1000 lines instead of the black boxes.



Does anybody know, how to turn back the "old" behaviour?










share|improve this question














Normally, when debugging with 'dump()' in twig, I get those tiny black little boxes, in which I can see my output,and open objects by clicking on an arrow. I don't know what I have changed, but now I get real var_dumps, means, I see full objects with 1000 lines instead of the black boxes.



Does anybody know, how to turn back the "old" behaviour?







symfony debugging twig






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 14:09









j0nnybrav0j0nnybrav0

517




517












  • Symfony version?

    – AythaNzt
    Mar 7 at 14:15











  • Perhaps related

    – DarkBee
    Mar 7 at 14:16











  • Oh, sorry, it is symfony 4.2.4

    – j0nnybrav0
    Mar 7 at 14:23











  • Yes, the relation is true. I have xdebug running on the system, too, but nothing works. It still displays the xdebug dump instead of symfonys twig dump.

    – j0nnybrav0
    Mar 7 at 15:31

















  • Symfony version?

    – AythaNzt
    Mar 7 at 14:15











  • Perhaps related

    – DarkBee
    Mar 7 at 14:16











  • Oh, sorry, it is symfony 4.2.4

    – j0nnybrav0
    Mar 7 at 14:23











  • Yes, the relation is true. I have xdebug running on the system, too, but nothing works. It still displays the xdebug dump instead of symfonys twig dump.

    – j0nnybrav0
    Mar 7 at 15:31
















Symfony version?

– AythaNzt
Mar 7 at 14:15





Symfony version?

– AythaNzt
Mar 7 at 14:15













Perhaps related

– DarkBee
Mar 7 at 14:16





Perhaps related

– DarkBee
Mar 7 at 14:16













Oh, sorry, it is symfony 4.2.4

– j0nnybrav0
Mar 7 at 14:23





Oh, sorry, it is symfony 4.2.4

– j0nnybrav0
Mar 7 at 14:23













Yes, the relation is true. I have xdebug running on the system, too, but nothing works. It still displays the xdebug dump instead of symfonys twig dump.

– j0nnybrav0
Mar 7 at 15:31





Yes, the relation is true. I have xdebug running on the system, too, but nothing works. It still displays the xdebug dump instead of symfonys twig dump.

– j0nnybrav0
Mar 7 at 15:31












2 Answers
2






active

oldest

votes


















0














You need to install:



composer require --dev symfony/var-dumper


You need to have php bin/console server:run previously and then, open another terminal and if you want to see it directly in the terminal, run:



php bin/console server:dump


or



php bin/console server:dump --format=html > dump.html


if you want to generate a html for opening and close object by clicking.



For more info, check: https://symfony.com/doc/current/components/var_dumper.html






share|improve this answer

























  • Strange, nothgin works, I already set the Env-Var "VAR_DUMPER_FORMAT html;", but nothinh works. I am using docker, instead of symfonys server.

    – j0nnybrav0
    Mar 7 at 15:32


















0














Okay, one point which was missing is:



It is important to set the environment to DEV, in my case, we are using antother environment called LOCAL. If I switch to DEV, everything works like described by @DarkBee and @AythaNzt:



  • composer require var-dumper

  • set html_errors on in php.ini

  • set fastcgi_param VAR_DUMPER_FORMAT html; in nginx

Currently I don't know where the difference between these two environments, since local is a plain copy from dev, but anyway: it works.






share|improve this answer























  • just set twig debug ON for the new Env.

    – j0nnybrav0
    Mar 15 at 16:41











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55045780%2ftwig-debugger-show-real-var-dump-instead-of-the-twig-debug-output%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You need to install:



composer require --dev symfony/var-dumper


You need to have php bin/console server:run previously and then, open another terminal and if you want to see it directly in the terminal, run:



php bin/console server:dump


or



php bin/console server:dump --format=html > dump.html


if you want to generate a html for opening and close object by clicking.



For more info, check: https://symfony.com/doc/current/components/var_dumper.html






share|improve this answer

























  • Strange, nothgin works, I already set the Env-Var "VAR_DUMPER_FORMAT html;", but nothinh works. I am using docker, instead of symfonys server.

    – j0nnybrav0
    Mar 7 at 15:32















0














You need to install:



composer require --dev symfony/var-dumper


You need to have php bin/console server:run previously and then, open another terminal and if you want to see it directly in the terminal, run:



php bin/console server:dump


or



php bin/console server:dump --format=html > dump.html


if you want to generate a html for opening and close object by clicking.



For more info, check: https://symfony.com/doc/current/components/var_dumper.html






share|improve this answer

























  • Strange, nothgin works, I already set the Env-Var "VAR_DUMPER_FORMAT html;", but nothinh works. I am using docker, instead of symfonys server.

    – j0nnybrav0
    Mar 7 at 15:32













0












0








0







You need to install:



composer require --dev symfony/var-dumper


You need to have php bin/console server:run previously and then, open another terminal and if you want to see it directly in the terminal, run:



php bin/console server:dump


or



php bin/console server:dump --format=html > dump.html


if you want to generate a html for opening and close object by clicking.



For more info, check: https://symfony.com/doc/current/components/var_dumper.html






share|improve this answer















You need to install:



composer require --dev symfony/var-dumper


You need to have php bin/console server:run previously and then, open another terminal and if you want to see it directly in the terminal, run:



php bin/console server:dump


or



php bin/console server:dump --format=html > dump.html


if you want to generate a html for opening and close object by clicking.



For more info, check: https://symfony.com/doc/current/components/var_dumper.html







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 7 at 14:41

























answered Mar 7 at 14:35









AythaNztAythaNzt

667210




667210












  • Strange, nothgin works, I already set the Env-Var "VAR_DUMPER_FORMAT html;", but nothinh works. I am using docker, instead of symfonys server.

    – j0nnybrav0
    Mar 7 at 15:32

















  • Strange, nothgin works, I already set the Env-Var "VAR_DUMPER_FORMAT html;", but nothinh works. I am using docker, instead of symfonys server.

    – j0nnybrav0
    Mar 7 at 15:32
















Strange, nothgin works, I already set the Env-Var "VAR_DUMPER_FORMAT html;", but nothinh works. I am using docker, instead of symfonys server.

– j0nnybrav0
Mar 7 at 15:32





Strange, nothgin works, I already set the Env-Var "VAR_DUMPER_FORMAT html;", but nothinh works. I am using docker, instead of symfonys server.

– j0nnybrav0
Mar 7 at 15:32













0














Okay, one point which was missing is:



It is important to set the environment to DEV, in my case, we are using antother environment called LOCAL. If I switch to DEV, everything works like described by @DarkBee and @AythaNzt:



  • composer require var-dumper

  • set html_errors on in php.ini

  • set fastcgi_param VAR_DUMPER_FORMAT html; in nginx

Currently I don't know where the difference between these two environments, since local is a plain copy from dev, but anyway: it works.






share|improve this answer























  • just set twig debug ON for the new Env.

    – j0nnybrav0
    Mar 15 at 16:41















0














Okay, one point which was missing is:



It is important to set the environment to DEV, in my case, we are using antother environment called LOCAL. If I switch to DEV, everything works like described by @DarkBee and @AythaNzt:



  • composer require var-dumper

  • set html_errors on in php.ini

  • set fastcgi_param VAR_DUMPER_FORMAT html; in nginx

Currently I don't know where the difference between these two environments, since local is a plain copy from dev, but anyway: it works.






share|improve this answer























  • just set twig debug ON for the new Env.

    – j0nnybrav0
    Mar 15 at 16:41













0












0








0







Okay, one point which was missing is:



It is important to set the environment to DEV, in my case, we are using antother environment called LOCAL. If I switch to DEV, everything works like described by @DarkBee and @AythaNzt:



  • composer require var-dumper

  • set html_errors on in php.ini

  • set fastcgi_param VAR_DUMPER_FORMAT html; in nginx

Currently I don't know where the difference between these two environments, since local is a plain copy from dev, but anyway: it works.






share|improve this answer













Okay, one point which was missing is:



It is important to set the environment to DEV, in my case, we are using antother environment called LOCAL. If I switch to DEV, everything works like described by @DarkBee and @AythaNzt:



  • composer require var-dumper

  • set html_errors on in php.ini

  • set fastcgi_param VAR_DUMPER_FORMAT html; in nginx

Currently I don't know where the difference between these two environments, since local is a plain copy from dev, but anyway: it works.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 8 at 12:57









j0nnybrav0j0nnybrav0

517




517












  • just set twig debug ON for the new Env.

    – j0nnybrav0
    Mar 15 at 16:41

















  • just set twig debug ON for the new Env.

    – j0nnybrav0
    Mar 15 at 16:41
















just set twig debug ON for the new Env.

– j0nnybrav0
Mar 15 at 16:41





just set twig debug ON for the new Env.

– j0nnybrav0
Mar 15 at 16:41

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55045780%2ftwig-debugger-show-real-var-dump-instead-of-the-twig-debug-output%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved