beyondcode / livewire-devtools

Chrome and Firefox DevTools extension for debugging Livewire applications
MIT License
417 stars 23 forks source link

Allow Livewire to disable devtools support #3

Closed mpociot closed 3 years ago

mpociot commented 3 years ago

Right now the devtools are always enabled, as soon as Livewire is detected. Livewire should add a flag based on the APP_ENV to determine if devtool support should be enabled or not. This requires a PR to Livewire.

barryvdh commented 3 years ago

But in that case you would disable the devtools on the client-side? Because then anyone could create a fork without that check anyways?

mpociot commented 3 years ago

Yeah that’s right - but that’s also how vue devtools work

gtu-myowin commented 2 years ago

Hi @mpociot,

May I know why did you close this enhancement? I want this too and I didn't have @barryvdh comment in mind until I read it. Now I have that in mind but still I would hesitate to fork the repository, compile to to a extension or use it as a in development version to inspect someone's site until I am eager to know. Therefore, I think the feature should be added.

yudhees commented 8 months ago

How to disable livewire devtools when the project is in production.i am using livewire version 2