laravel-debugbar-companion icon indicating copy to clipboard operation
laravel-debugbar-companion copied to clipboard

Instructions for Laraval Sail

Open andruu opened this issue 4 years ago • 2 comments

Went through all of the issues and did a bunch of searching. Still coming up empty trying to get this to work with Laravel Sail. Any help would be great!

andruu avatar Jan 12 '21 15:01 andruu

@andruu In Sail, you would need to change the host IP-address. Is it possible to change your config in config/debugbar.php like this and fill in the host ip address:

    'enabled'    => true,
    'driver'     => 'socket', // redis, file, pdo, custom
    'path'   => storage_path('debugbar'),
    'connection' => null,
    'hostname' => 'YOUR HOST IP ADDRESS HERE',
    'port' => 2304
],

If this doesn't work, please use the master branch instead of 0.1.0. With the fix in commit e30618dae4266f408431aa73896e44d80253b3d3 it should listen on all IP-addresses on the machine.

DavyDeCoster avatar Jan 12 '21 17:01 DavyDeCoster

Hello, are you talking about the host IP address of the container ?

donmbelembe avatar Jan 15 '21 11:01 donmbelembe