1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

wp-env で debug.log を読む方法

Posted at

いつも、忘れてしまうので、備忘録までに。

debug.log を読む方法

基本的には以下でほぼコマンドラインと同じ事ができます。

wp-env run cli ****

今回は、デバッグデータを見たいので、以下で見られます。他の方法もあると思いますが。

wp-env run cli vi wp-content/debug.log

wp-env run cli tail -f wp-content/debug.log

上が、ファイルを vi で見る方法で、下は tail コマンドでテキストファイルの最後方を表示するコマンドです。

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?