Laravel function helper dd() don't working as expected

Viewed 173

I'm developing a new project in the last version of Laravel (8.12) and I've figured out that the function helper dd() don't work properly. Supposedly this function halts the execution of the script as is mentioned in the official doc, but in my case, the scripts continues until the end of it.

Example:

public function store(AnimalNewRequest $request)
{
    dd('Test 1');
    dd('Test 2');
}

Output:

"Test 1"
"Test 2"

Expected Output:

"Test 1"
1 Answers

Finally, it should be an error of vagrant and laravel homestead. Last update fixed the problem.

Related