Laravel Telescope Enabled In Production
Last updated
Was this helpful?
Last updated
Was this helpful?
Laravel Telescope is a debugging tool often only enabled in local environments to help developers debug Laravel applications. Telescope can help developers look at incoming HTTP requests, view exceptions, logs, database queries and much more. It can sometimes happens that Telescope is enabled on production.
Navigate to the following app route:
Telescope is a feature intended for development purposes only, it should be disabled in production environments.
, when installing Laravel Telescope, make sure to pass the --dev
CLI flag to only install it locally (or in your development environment):
Afterwards, it is required to only register Telescope service in local environments:
Laravel Telescope prints provides several debugging features including logs and database queries for example that may contain sensitive information. This information can be used against a company in further attacks (think about sensitive tokens and app secrets being logged).