You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug your PHP applications (both web and console) in realtime.
5
5
6
-
Debug/log information is sent completely "out-of-bounds" via websockets. Since log data isn't sent in the message body or headers of your application, we can debug any request method (including ajax and console application) without affecting the output.
6
+
Debug/log information is sent completely "out-of-bounds" via websockets. Since log data isn't sent in the message body or headers of your application, we can debug any request method (including ajax and console application) without affecting the application's output.
7
7
8
8
All [PHPDebugConsole](https://github.com/bkdotcom/PHPDebugConsole) methods are supported.
9
9
10
10
11
11
### Overview
12
12
There are 3 parts to this logging solution.
13
13
14
-
* This client. Think of this as an undocked (separate-windowed) browser console. Instead of viewing javascript info, it's PHP stuff<sup>†</sup>.
14
+
* This client. Think of this as an undocked (separate-windowed) browser console. Instead of viewing javascript stuff, it's PHP stuff<sup>†</sup>.
15
15
* The PHP application thats "publishing" log messages (via [PHPDebugConsole](https://github.com/bkdotcom/PHPDebugConsole))
16
16
*[A WAMP (websockets protocol) router](http://wamp-proto.org/implementations/#routers) that serves as a middle man between this client and the PHP application
17
17
@@ -22,28 +22,33 @@ All 3 components *can* be be running on the same server/environment, or be on 3
22
22
23
23
### Installation
24
24
25
-
**Download Composer** (if not already installed) [more info](https://getcomposer.org/doc/00-intro.md#downloading-the-composer-executable)
25
+
**Download Composer** (if not already installed) [more info](https://getcomposer.org/doc/00-intro.md#downloading-the-composer-executable)
**Install a WAMP router** (if you don't already have one)
39
+
**Install a WAMP router** (if you don't already have one)
37
40
If you don't already have a WAMP router up and running, you might as well install a PHP-based one here in the same folder *(but again, it could be installed anywhere, or be a node based router)*
38
-
One client+router install can support many PHPDebugConsole projects
41
+
One client+router install can support many PHPDebugConsole projects
*(note that the router doesn't play well with x-debug. You will likely need to disable x-debug for this process)*
46
+
*(note that the router doesn't play well with x-debug. You will likely need to disable x-debug for this process. See [this gist](https://gist.github.com/bkdotcom/4b635f7c7c07dd5800dee89cdb99e4f6))*
44
47
45
48
**Create an `index.php` for the client**
46
49
50
+
(this index.php should be created in the project directory)
0 commit comments