cheukpang / think-slog
useful debug tool base on socket log
dev-master
2017-01-09 17:30 UTC
Requires
- php: >=5.5.9
Requires (Dev)
- phpunit/phpunit: 5.5.*
This package is auto-updated.
Last update: 2024-10-28 15:30:27 UTC
README
useful debug tool base on socket log
REQUIREMENT
- nodejs LTS is
recommend
- chrome extension(file 'chrome.crx' in
resource
folder) - additional port
1229
and port1116
is required,please check your firewall and add it in whitelist
INSTALL
- installation is very simply via composer
composer install cheukpang/think-slog --save
HOWTO
install socketlog-server and run it
npm install -g socketlog-server
Run socketlog-server in windows CMD or Linux Shell
socketlog-server
debug like follow in php where you want
<?php //$some_code_here; slog('log whatever you want'); //...
then open chrome dev-tool,you should see debug output in console tab ^_^
Reference
License
Apache-2.0