metrakit / laravel-lazy-debug
A Laravel package for a lazy debug
1.0.4
2016-03-22 13:54 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-11-07 01:03:20 UTC
README
Install
Sublime text
- (Windows/Linux) Install
Subl protocol
in the package control : https://github.com/thecotne/subl-protocol - (OSX) Download the URL handler for Sublime Text 3 from https://github.com/dhoulb/subl and unzip it your /Applications directory. Start this App one time for register the URL handler on your MAC. You can get more informations about this step here : https://github.com/dhoulb/subl
Your favorite browser is Google Chrome ? Follow these steps :
- Close Chrome
- (Windows) Open this file :
C:\Users\XXXX\AppData\Local\Google\Chrome\User Data
and search forexcluded_schemes
inprotocol_handler
. (OSX) Open this file :~/Library/Application Support/Google/Chrome/Local State
and search forexcluded_schemes
inprotocol_handler
- Add
"subl": false,
and save the file - Open Chrome and it's work !
- Use the
composer require metrakit/laravel-lazy-debug
in your project folder - Add the
Metrakit\LazyDebug\LazyDebugServiceProvider::class
Service provider in the ServiceProvider section in yourconfig/app.php
file - (optional) Set a env variable in your .env file for the local path project (usefull is you use Vagrant or Docker) (e.g.
PATH_FOLDER=C:/projects/my-project
) - VoilĂ , now you can click on the error like on the GIF for open the file in Sublime Text