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

Not working

Open spartyboy opened this issue 3 years ago • 18 comments

companion keeps showing There are no current request yet. and i have configured the config file and restarted server

spartyboy avatar Jan 10 '21 06:01 spartyboy

Same here.

leandrodiogenes avatar Jan 10 '21 17:01 leandrodiogenes

Yep, same issue. I'm wondering if, in my case, this is a docker issue? Does this work with containers?

jbxonline avatar Jan 11 '21 07:01 jbxonline

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

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

DavyDeCoster avatar Jan 11 '21 12:01 DavyDeCoster

Hello, same issue here. Changed driver in config/debugbar.php to 'socket' (instead of 'app' proposed in client), and after debugging it creates and send data to socket, but the client (windows) is not processing the payload.

After enabling developers toolbar in windows client, it shows this: image

seems like this is the problem: image

lubop avatar Jan 11 '21 14:01 lubop

@lubop This is fixed by commit 1f5fa4b34b1f2f9c21668cc0e6afcab7e897854e, but @mpociot didn't create a release yet. If you want, you can use the current master-branch.

DavyDeCoster avatar Jan 11 '21 14:01 DavyDeCoster

@DavyDeCoster thanks, that was the problem. Managed to build release from current master branch and now it works...

lubop avatar Jan 11 '21 15:01 lubop

@DavyDeCoster how do i then compile the code to an electron app executable by windows

spartyboy avatar Jan 12 '21 12:01 spartyboy

@spartyboy install all dependencies using Yarn and then run yarn run build:win should build a executable. If not, try yarn run publish:win

DavyDeCoster avatar Jan 12 '21 13:01 DavyDeCoster

yea, indeed we need to wait for a new release, master branch it works fine.

leandrodiogenes avatar Jan 14 '21 11:01 leandrodiogenes

Same here, waiting for a new release

Claw-Hammer avatar Jan 15 '21 18:01 Claw-Hammer

@spartyboy install all dependencies using Yarn and then run yarn run build:win should build a executable. If not, try yarn run publish:win

Thanks @DavyDeCoster, i was able to build the app from the master branch, it's working now

Claw-Hammer avatar Jan 15 '21 18:01 Claw-Hammer

@spartyboy install all dependencies using Yarn and then run yarn run build:win should build a executable. If not, try yarn run publish:win

$ yarn electron:build -- --win --x64 --ia32 -p always warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts. $ vue-cli-service electron:build --win --x64 --ia32 -p always 'vue-cli-service' is not recognized as an internal or external command, operable program or batch file. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. here is the error i get on trying to build it

spartyboy avatar Feb 05 '21 07:02 spartyboy

@spartyboy i can send you the .exe installer, just let me know

Claw-Hammer avatar Feb 05 '21 14:02 Claw-Hammer

@spartyboy i can send you the .exe installer, just let me know

pls do

spartyboy avatar Feb 11 '21 12:02 spartyboy

For all those who need it, in the following link you can download the installer for Windows:

https://www.4shared.com/s/fW17WRXY1iq

This build was made by myself, no virus, no scam, no BS....just the debugbar companion ... !

Claw-Hammer avatar Feb 11 '21 15:02 Claw-Hammer

@mpociot Any chance of getting a fixed release for Mac?

keithbrink avatar Mar 27 '21 13:03 keithbrink

for anyone who - like me - googled this issue when looking how to set up debugbar companion to work with docker:

in docker-compose.yml (add to container with laravel):

extra_hosts:
    - 'host.docker.internal:host-gateway'

in config/debugbar.php set

'storage' => [
    'hostname' => 'host.docker.internal'
    (...)
]

t-raven avatar May 19 '22 23:05 t-raven

@mpociot could you please make a release for mac? Still doesn't work unfortunately. This issue resides here

truesteps avatar Dec 10 '22 10:12 truesteps