Metrakit / laravel-lazy-debug by Metrakit

A Laravel package for a lazy debug
362
2
3
Package Data
Maintainer Username: Metrakit
Maintainer Contact: contact@jordane.net (Jordane Jouffroy)
Package Create Date: 2016-03-16
Package Last Update: 2016-03-22
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:24:46
Package Statistics
Total Downloads: 362
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 2
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

A Laravel Lazy debugger package

Demo

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 :

  1. Close Chrome
  2. (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
  3. Add "subl": false, and save the file
  4. 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