From 65f5ad065799c49ab8bb2f581842ec1b28baea9f Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Mon, 10 Feb 2020 14:41:09 +0600 Subject: [PATCH] Update note on debug systems --- docs/contributors/getting-started.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/contributors/getting-started.md b/docs/contributors/getting-started.md index 2a2d1a2bb9978a..1a5656887b3601 100644 --- a/docs/contributors/getting-started.md +++ b/docs/contributors/getting-started.md @@ -46,15 +46,7 @@ To shut down this local WordPress instance run `npx wp-env stop`. To start it ba #### Toggling Debug Systems -WordPress comes with specific [debug systems](https://wordpress.org/support/article/debugging-in-wordpress/) designed to simplify the process as well as standardize code across core, plugins and themes. It is possible to use environment variables (`LOCAL_WP_DEBUG` and `LOCAL_SCRIPT_DEBUG`) to update a site's configuration constants located in `wp-config.php` file. Both flags can be disabled at any time by running the following command: - -Example on Linux/MacOS: - -```bash -LOCAL_SCRIPT_DEBUG=false LOCAL_WP_DEBUG=false npx wp-env start -``` - -By default, both flags will be set to `true`. +WordPress comes with specific [debug systems](https://wordpress.org/support/article/debugging-in-wordpress/) designed to simplify the process as well as standardize code across core, plugins and themes. In order to use with `wp-env,` you'll have to edit your local WordPress install's `wp-config.php`. #### Troubleshooting