Skip to content

Instantly share code, notes, and snippets.

@takunagai
Last active August 16, 2022 06:54
Show Gist options
  • Save takunagai/8286fe4bbe7b46df9fb7c6649cf331e5 to your computer and use it in GitHub Desktop.
Save takunagai/8286fe4bbe7b46df9fb7c6649cf331e5 to your computer and use it in GitHub Desktop.
[Debug Mode Settings] #WordPress
/**
* 開発者へ: WordPress デバッグモード
*
* この値を true にすると、開発中に注意 (notice) を表示します。
* テーマおよびプラグインの開発者には、その開発環境においてこの WP_DEBUG を使用することを強く推奨します。
*/
define( 'WP_DEBUG', true );
define( 'SCRIPT_DEBUG', true ); // React Developer Tools で、選択したコンポーネントの Props の値を変更できるようになる
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment