Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

make HtmlDumper output more developer friendly #49754

Copy link
Copy link
Closed
@Jimbolino

Description

@Jimbolino
Issue body actions

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 :)

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.