T
T
Taras Parashchuk2020-12-09 22:07:42
Laravel
Taras Parashchuk, 2020-12-09 22:07:42

Why might the dd function not work in LARAVEL?

Why might the dd function in LARAVEL not work?
In all controllers it works, but in one it does not work.
And var_dump doesn't work.
I did not notice anything unusual in the controller.
The server overloaded, cleared the cache, copied the code from the controller into a new controller blank, and still does not work.
Can anyone suggest what could be the problem?

I suddenly realized why it wasn't working.
I'm passing a form to the controller via AJAX.
In other controllers I pass via POST and everything works in them.
Now the question is how to make this function work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jazzus, 2020-12-10
@jazzus

Chrome browser - developer tools - Network - select the request with dd - Preview in the list.
Or you do an http request test and the debug will be displayed right in the terminal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question