Do you know that Laravel do provide a free debug tool?

In some cases, when having error in your production website you might cannot see what exactly was the error cause.

Patrick Wan
3 min readMar 12, 2022

Most of the time you will need to check from storage log. In current, I will show show you a free tool which is Larabug can help you easily to check your error without check in your storage log.

LaraBug is a debug tool will catch any error (exception) and save it to your created project. This will allow you to overview all the errors (exceptions) that have been generated. In many times, our project will set to production mode in live server, so we wouldn’t know what was the error came from and this package will get help us.

To start using LaraBug, you will need an account. Register here for a 5-day free trial.

After creating your account & project, you are ready to start installing the LaraBug package inside your Laravel installation.

You can install the package through Composer.

composer require larabug/larabug

Then publish the config and migration file of the package using artisan.

php artisan vendor:publish --provider="LaraBug\ServiceProvider"

--

--

Patrick Wan

My name’s Patrick. I’m a Software Developer, experience in Laravel, Vue Js, React Js, Livewire, Jquery, Codegniter, NPM, GIT. I have 5 years plus experience.