Install Telescope for local debugging

Telescope is a dev dependency. The default gate should not let the public open /telescope.

For your AI agent

Copies a prompt. Paste it into the AI agent you already have open.

Read https://laravel-vuejs.space/laravel-telescope-dev-only.md
Telescope is a dev dependency. The default gate should not let the public open /telescope.
Do not return true for every user so a Vue admin link can open it.
Do not require Telescope without --dev and then try to prune it later.
Do not register it in every environment because CI was missing the provider.
Show the diff. Do not commit.
On this page · 3 sections
  1. The fix
  2. What to avoid
  3. FAQ

People searching “Laravel Telescope Vue” install it in production to watch Inertia requests. It records request bodies. That includes passwords if you are not careful, and it is a second app on your URL. Keep it local.

TL;DR

  • Telescope is a dev dependency.
  • The default gate should not let the public open /telescope.
  • Do not return true for every user so a Vue admin link can open it.
  • Do not require Telescope without --dev and then try to prune it later.

Who it's for: Laravel + Vue developers

Applies to: Laravel 13 · Vue 3

The fix#

shell
composer require laravel/telescope --dev
php artisan telescope:install
php artisan migrate

The published TelescopeServiceProvider gates viewTelescope. Leave that gate on local. Do not return true for every user so a Vue admin link can open it.

Inertia requests show up as HTTP requests. You can see the props and the session. That is useful on your machine. It is not a product feature, and the Vue page should not iframe it.

What to avoid#

Gotcha

Do not require Telescope without --dev and then try to prune it later. Do not register it in every environment because CI was missing the provider. CI does not need the UI.

FAQ#

How do I install Telescope for local debugging?

Telescope is a dev dependency. The default gate should not let the public open /telescope.

What goes wrong with Laravel Telescope Vue?

Many developers install it in production to watch Inertia requests. Do not return true for every user so a Vue admin link can open it.

Found this useful?

Ask questions, share what you built.

Join thousands of Laravel and Vue developers in our Facebook group, or get new posts in your Telegram feed. Sharing this article helps too.

Keep reading

Newsletter

Get the best of Laravel & Vue, once a month.

One short email with new guides, release notes worth reading and hand-picked community links. No spam, unsubscribe any time.