laravel-dump-server
laravel-dump-server copied to clipboard
Laravel dump-server does not log anything on console
Laravel upgraded from 5.5->5.6 then 5.6-.5.7
I can run following command
php artisan dump-server
shows following:
[OK] Server listening on tcp://127.0.0.1:9912
// Quit the server with CONTROL-C.
But
dd($user)
does not log on the console. Instead it shows on the browser.
you need to use the dump function not die and dump
@cosecantt https://laracasts.com/series/whats-new-in-laravel-5-7/episodes/2
you need to use the dump function not die and dump
I've tired both dump() and dd(). It does not work either.
@cosecantt what's your server setup? Are you using homestead/docker/valet?
I am using following:
PHP 7.2.9
Homestead v7.17.00
Vagrant 2.1.4
Oracle VirtualBox Version 5.2.18 r124319 (Qt5.6.2)
Windows 10 64bit
Upgraded from Laravel 5.5 to 5.6 and 5.6 to 5.7 following the upgrade manual on documentation
Similar issue but with different setup. And I did use the dump()
function as described in the docs:
PHP 7.1
Running locally with php artisan serve
php artisan dump-server also running a different pane
No output.
Same issue using:
Laravel Valet 2.1.1 PHP 7.2.10
it works however in laravel telescope but not with each request.
@mpociot i am using it with docker? should it work out-of-the-box with it or i need to configure something
i got this problem also...
the real problem was i installed laravel telescope, went to the url and afterwards started dump-server... all my dumps() went to telescope... after closing telescope and restarting dump-server, everything started showing correctly