php でどうやって変数を出力するかについてイマイチよくわからなかったので調べてみたところ、まあまあ使えるものを見つけたので紹介します。
public function index() {
$this->log($this->People, 'debug');
$data = $this->People->find('all');
$this->set('data');
}
これでPeopleの中身がブラウザの下のバナーのLogsのDebug Messagesに表示されます。


