Skip to content

Commit dcf2018

Browse files
stayalliveuntitaker
authored andcommitted
Add note about local development for Laravel (#803)
1 parent 4ac92c0 commit dcf2018

File tree

1 file changed

+8
-0
lines changed
  • src/collections/_documentation/platforms/php

1 file changed

+8
-0
lines changed

src/collections/_documentation/platforms/php/laravel.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@ $ php artisan sentry:test
159159
[sentry] Event sent: e6442bd7806444fc8b2710abce3599ac
160160
```
161161

162+
## Local development
163+
164+
When Sentry is installed in your application it will also be active when you are developing.
165+
166+
If you don't want errors to be sent to Sentry when you are developing set the DSN value to `null`.
167+
168+
You can do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or define it as `SENTRY_LARAVEL_DSN=null`.
169+
162170
## Laravel specific options
163171

164172
#### breadcrumbs.sql_bindings

0 commit comments

Comments
 (0)