A Laravel Lazy debugger package
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 for excluded_schemes
in protocol_handler
. (OSX) Open this file : ~/Library/Application Support/Google/Chrome/Local State
and search for excluded_schemes
in protocol_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 your config/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