Tech Magazine

Debugging with Laravel Telescope (Part 1)

1 2,234

Get real time updates directly on you device, subscribe now.

In the article, we will discuss “Debugging with Laravel Telescope”. Laravel provides a wonderful debugging assistance Laravel Telescope. As you know, when we developing an application then it is impossible to avoid bugs. Laravel Telescope empower us to manage to debug an application.

Telescope not only allow to monitor and debug but provide the wide range of information which is not normally available to view. You can view complete insights for the requests coming into your application, exceptions, database queries, queued jobs, emails, log entries, notification, cache and lots more. Also, we can get which pages are working right and which database queries were run when a request was made.

Let’s Setup Laravel Telescope


We need to make sure this to use the latest version on Laravel or use minimum version 5.7.7

Use following composer command to install the Laravel Telescope in your application.

composer require laravel/telescope

Debugging with Laravel Telescope

You need to execute the following artisan command. These commands are necessary to complete the Laravel Telescope setup.

// Publish telescope package assets
php artisan telescope:install

Debugging with Laravel Telescope

// Create a necessary database table, migration files are created after executing the above mention artisan command.
php artisan migrate

Debugging with Laravel Telescope

Installing for a specific environment

If you want to install Telescopes to assist your local development only. Then you need to use the following command, in this command we use additional “–dev” flag for the development environment.

composer require laravel/telescope --dev

Let’s Execute the Telescope

After completing the installation, you just need to visit “/telescope” on your project.

Debugging with Laravel Telescope

As you see, the left sidebar shows all of telescope features such as Requests, Commands, Schedule, Jobs, Exceptions, Logs, Dumps, Queries, Models, Events, Mail, Notifications, Gates, Cache and Redis.

We will discuss all the features in our future article with depth details, which helps you to debug your Laravel Application.


In this article, we are discussing Laravel Telescope Setup. You can check the official Laravel Telescope documentation. We will cover each of its feature in our future articles. You can also check our other Laravel articles. Please feel free to add comments or you can submit your feedback 😉

If you like our content, please consider buying us a coffee.
Thank you for your support!
Buy Me a Coffee

Get real time updates directly on you device, subscribe now.

1 Comment
  1. Vlad says

    Ждем с нетерпением продолжения!

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More