Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Chris1904's avatar

When debugging in network tab dd() output is not "previewable"

Hi,

a few Chrome and Laravel versions back I used to be able to view and debug dd()-output in the network tab of my Chrome browser.

Right now, all that is displayed is in the form off:

image

<script> Sfdump = window.Sfdump || (function (doc) { var refStyle = doc.createElement('style'), rxEsc = /([.*+?^${}()|\[\]\/\])/g, idRx = /\bsf-dump-\d+-ref[012]\w+\b/, keyHint = 0 <= navigator.platform.toUpperCase().indexOf('MAC') ? 'Cmd' : 'Ctrl', addEventListener = function (e, n, cb) { e.addEventListener(n, cb, false); }; (doc.documentElement.firstElementChild || doc.documentElement.children[0]).appendChild(refStyle); if (!doc.addEventListener) { addEventListener = function (element, eventName, callback) { element.attachEvent('on' + eventName, function (e) { e.preventDefault = function () {e.returnValue = false;}; e.target = e.srcElement; callback(e); }); }; } function toggle(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className, arrow, newClass; if (/\bsf-dump-compact\b/.test(oldClass)) { arrow = '&#9660;'; newClass = 'sf-dump-expanded'; } else if ............ <script>Sfdump("sf-dump-1472946577")</script>

Is there a setting of where I can preview such output in the network tab?

Thanks for any hints, Chris

0 likes
2 replies
bobbybouwmann's avatar

If you're doing a ajax GET request it would be wise to either do that in the browser or use something like postman. This way you can always see the result.

Postman is in general a good idea to debug these kind of things + it's free documentation for your project ;)

1 like

Please or to participate in this conversation.