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
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
add a comment |
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
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
add a comment |
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
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
symfony debugging twig
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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
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
add a comment |
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.
just set twig debug ON for the new Env.
– j0nnybrav0
Mar 15 at 16:41
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
just set twig debug ON for the new Env.
– j0nnybrav0
Mar 15 at 16:41
add a comment |
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.
just set twig debug ON for the new Env.
– j0nnybrav0
Mar 15 at 16:41
add a comment |
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.
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.
answered Mar 8 at 12:57
j0nnybrav0j0nnybrav0
517
517
just set twig debug ON for the new Env.
– j0nnybrav0
Mar 15 at 16:41
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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