Closed
Description
Description
The dd() helper is really useful for us developers
However, every time i am debugging a json api call, or when i do a view-source: or curl
I have to replace my dd() with var_dump() + die(), because the output starts with a bunch of static javascript.
Example
A simple solution to this is begin the output with a html comment like this:
<!-- var_dump($data) -->
This way the dumped data is always in a developer friendly version at the top of the file.
Screenshot of the "issue" that im trying to solve :)