Skip to content

Commit 42ff9d0

Browse files
committed
Setup live debugger in app.
1 parent 129d06d commit 42ff9d0

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

app/config/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
'Illuminate\Cookie\CookieServiceProvider',
9191
'Illuminate\Database\DatabaseServiceProvider',
9292
'Illuminate\Encryption\EncryptionServiceProvider',
93+
'Illuminate\Exception\LiveServiceProvider',
9394
'Illuminate\Filesystem\FilesystemServiceProvider',
9495
'Illuminate\Hashing\HashServiceProvider',
9596
'Illuminate\Html\HtmlServiceProvider',

app/start/local.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
<?php
22

3-
//
3+
/*
4+
|--------------------------------------------------------------------------
5+
| Register Debug Console
6+
|--------------------------------------------------------------------------
7+
|
8+
| In the local environment, we will attach the live debugger, which will
9+
| allow you to view SQL queries and other logged information as it is
10+
| taking place in this application via the "debug" Artisan command.
11+
|
12+
*/
13+
14+
App::attachDebugger();

0 commit comments

Comments
 (0)