As of Twig 1.5, the correct answer is to use the dump function. It is fully documented in the Twig documentation. Here is the documentation to enable this inside Symfony.
{{ dump(user) }}
Related Contents:
- What is private bytes, virtual bytes, working set?
- Is there “Break on Exception” in IntelliJ?
- Attach IntelliJ IDEA debugger to a running Java process
- What is the difference between Step Into and Step Over in a debugger
- What are the debug memory fill patterns in Visual Studio C++ and Windows?
- Debugging in Clojure? [closed]
- How does a debugger work?
- Visual Studio debugger – Displaying integer values in Hex
- How to debug Google Apps Script (aka where does Logger.log log to?)
- Why is debugging better in an IDE? [closed]
- What is a debugger and how can it help me diagnose problems?
- How to get R script line numbers at error?
- How to check if program was compiled with debug symbols? [duplicate]
- How to debug using npm run scripts from VSCode?
- How to debug Angular JavaScript Code
- how to debug the js in jsfiddle
- Wireshark vs Firebug vs Fiddler – pros and cons? [closed]
- gdb: how to print the current line or find the current line number?
- Tool for debugging makefiles
- How to jump to next break point in IntelliJ?
- How to debug a Gradle build.gradle file (in a debugger, with breakpoints)?
- Enumerate or list all variables in a program of [your favorite language here] [closed]
- Debugging GNU make
- How can I inspect element in chrome when right click is disabled?
- How to disable “Type to continue, or q to quit” in gdb?
- How do you reproduce bugs that occur sporadically?
- Watchpoint a fixed address
- IIS does not list a web site that matches the launched URL
- How to get more info when the “Aw Snap” screen shows up in Chrome?
- How to use trace and dbg in Erlang to debug and trace my program?
- What is the best way to test and interact with inner functions defined inside a toplevel function?
- How to enable loglevel debug on Apache2 server [closed]
- Debug PostgreSQL function using pgAdmin
- How to debug elisp?
- How to use pg_stat_activity?
- How is Linux kernel live debugging done and what tools are used?
- How to debug RESTful services? [closed]
- How do I debug HTML and JavaScript together in VSCode (Visual Studio Code)?
- How can I test a trigger function in GAS?
- IntelliJ IDEA Debugger does not show null element in a list
- How to programmatically detect debug mode in nodejs?
- Line number of segmentation fault
- How do I debug AppleScript?
- GDB: How to list all source files used for compilation
- How to debug Haskell code?
- how to debug node.js causing 100% cpu usage?
- Are there any online tools to test SVG paths?
- Starting to learn Windbg [closed]
- What is the difference between Step in, Step out and Step Over?
- Debugging a custom function in Google Apps Script