From 20814c34f57e2b1eaf420dab10e265fc815b4114 Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Sat, 4 Dec 2021 21:47:56 -0300 Subject: [PATCH] Fixed Yarn and NPM `dev` swapped arguments (#32135) ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` --- docs/advanced-features/debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-features/debugging.md b/docs/advanced-features/debugging.md index f869030cc558..d119ccffc15c 100644 --- a/docs/advanced-features/debugging.md +++ b/docs/advanced-features/debugging.md @@ -86,7 +86,7 @@ Debugging server-side code here works much like debugging client-side code with ### Debugging on Windows -Windows users may run into an issue when using `NODE_OPTIONS='--inspect'` as that syntax is not supported on Windows platforms. To get around this, install the [`cross-env`](https://www.npmjs.com/package/cross-env) package as a development dependency (`--dev` with Yarn or `-D` for NPM) and replace the `dev` script with the following. +Windows users may run into an issue when using `NODE_OPTIONS='--inspect'` as that syntax is not supported on Windows platforms. To get around this, install the [`cross-env`](https://www.npmjs.com/package/cross-env) package as a development dependency (`--dev` with NPM or `-D` for Yarn) and replace the `dev` script with the following. ```json "dev": "cross-env NODE_OPTIONS='--inspect' next dev",