Browse Source

Setup live debugger in app.

Taylor Otwell 11 years ago
parent
commit
42ff9d0ebb
2 changed files with 13 additions and 1 deletions
  1. 1 0
      app/config/app.php
  2. 12 1
      app/start/local.php

+ 1 - 0
app/config/app.php

@@ -90,6 +90,7 @@ return array(
 		'Illuminate\Cookie\CookieServiceProvider',
 		'Illuminate\Database\DatabaseServiceProvider',
 		'Illuminate\Encryption\EncryptionServiceProvider',
+		'Illuminate\Exception\LiveServiceProvider',
 		'Illuminate\Filesystem\FilesystemServiceProvider',
 		'Illuminate\Hashing\HashServiceProvider',
 		'Illuminate\Html\HtmlServiceProvider',

+ 12 - 1
app/start/local.php

@@ -1,3 +1,14 @@
 <?php
 
- //
+/*
+|--------------------------------------------------------------------------
+| Register Debug Console
+|--------------------------------------------------------------------------
+|
+| In the local environment, we will attach the live debugger, which will
+| allow you to view SQL queries and other logged information as it is
+| taking place in this application via the "debug" Artisan command.
+|
+*/
+
+App::attachDebugger();