Ahmed Ali Ahmed Ali - 1 month ago 16
Ajax Question

how can we view symfony dump() output with ajax request?

Hi my question is that we can view the output of symfony

dump()
function with normal http request, but can we view the output with
ajax
request?

Answer

Open the developer tools* in your browser before you make the request on your page. Click on the networks tab then perform the action that makes the request. Click on the request (circled in the chrome example below) and select the Preview tab and you'll see all the output.

* Using Chrome open devtools with the keyboard: Ctrl+Shift+i or from the menu > More Tools > Developer Tools

Here's an overview of Chrome's devtools. You can breeze through the videos in < 1hr.

Here's a picture:

enter image description here

Comments