Skip to content

Instantly share code, notes, and snippets.

View chasoft's full-sized avatar
🎯
Working from home

Brian Cao chasoft

🎯
Working from home
View GitHub Profile
@SeanJA
SeanJA / JSDebug.php
Created September 30, 2011 16:01
debugging in the console from php
<?php
/**
* @method void error() error(string $name, mixed $var)
* @method void exception() exception(string $name, mixed $var)
* @method void info() info(string $name, mixed $var)
* @method void log() log(string $name, mixed $var)
* @method void trace() trace(string $name, mixed $var)
* @method void warn() warn(string $name, mixed $var)