LoginSignup
38
39

More than 5 years have passed since last update.

php側でコンソールログにデバッグ出力する方法

Posted at

SPA(※Single Page Application)の構成でWebアプリを開発する場合にphp側のデバッグで困ったのでメモ。

var_dumpやechoなどが使えないのでphpでコンソールログにデバッグ出力する方法を探した。
そしたら↓のやり方で即解決した。
ここ見たら一発

※SPAについての記事はこちらが分かりやすかった

38
39
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
38
39