Last active
August 16, 2022 06:54
-
-
Save takunagai/8286fe4bbe7b46df9fb7c6649cf331e5 to your computer and use it in GitHub Desktop.
[Debug Mode Settings] #WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 開発者へ: 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