i have code like this
public function store(Request $request)
{
dd($request->all());
return Fooservice::store($request);
}
but when i saw in network my browser, it show diffrent. that show like this
"%3Cscript%3E%20Sfdump%20%3D%20window.Sfdump%20%7C%7C%20(function%20(doc)%20%7B%20doc.documentElement.classList.add(‘sf-js-enabled’)%3B%20var%20rxEsc%20%3D%20%2F(%5B.*%2B%3F%5E%24%7B%7D()%7C%5C%5B%5C%5D%5C%2F%5C%5C%5D)%2Fg%2C%20idRx%20%3D%20%2F%5Cbsf-dump-%5Cd%2B-ref%5B012%5D%5Cw%2B%5Cb%2F%2C%20keyHint%20%3D%200%20%3C%3D%20navigator.platform.toUpperCase().indexOf(‘MAC’)%20%3F%20’Cmd’%20%3A%20’Ctrl’%2C%20addEventListener%20%3D%20function%20(e%2C%20n%2C%20cb)%20%7B%20e.addEventListener(n%2C%20cb%2C%20false)%3B%20%7D%3B%20if%20(!doc.addEventListener)%20%7B%20addEventListener%20%3D%20function%20(element%2C%20eventName%2C%20callback)%20%7B%20element.attachEvent(‘on’%20%2B%20eventName%2C%20function%20(e)%20%7B%20e.preventDefault%20%3D%20function%20()%20%7Be.returnValue%20%3D%20false%3B%7D%3B%20e.target%20%3D%20e.srcElement%3B%20callback(e)%3B%20%7D)%3B%20%7D%3B%20%7D%20function%20toggle(a%2C%20recursive)%20%7B%20var%20s%20%3D%20a.nextSibling%20%7C%7C%20%7B%7D%2C%20oldClass%20%3D%20s.className%2C%20arrow%2C%20newClass%3B%20if%20(%2F%5Cbsf-dump-compact%5Cb%2F.test(oldClass))%20%7B%20arrow%20%3D%20’%26%239660%3B’%3B%20newClass%20%3D%20’sf-dump-expanded’%3B%20%7D%20else%20if%20(%2F%5Cbsf-dump-expanded%5Cb%2F.test(oldClass))%20%7B%20arrow%20%3D%20’%26%239654%3B’%3B%20newClass%20%3D%20"
i alredy try reinstall my vsc, my laragon, my extension, switch another php and try adding path php to setting in vsc, still same result
4
Answers
I also have this problem; it started when I updated Chrome. I have another computer here with an older version of Chrome, and the dd() method works perfectly on it. This update happened a few days ago, so it seems we’ll have to wait until someone figures out how to fix it 🙁
Because of chrome version. I changed to mozilla, now i can see the data with dd
You are possibly using ajax requests, or a request that returns JSON format in your response. When you use dd() or ddd(), the page code is usually displayed in the response (as if it were rendering HTML).
You can handle this in two ways:
As previous answers have stated, it is indeed caused by the latest update of Chrome browser. The user SelfMade also explains it in this answer.
There is no solution for now, I would recommend using other browser or install some older version until they fix it.