From 3a0065d701d243d1564f20ca6f437117f5ea7ce9 Mon Sep 17 00:00:00 2001 From: Kolton Gagnon Date: Mon, 14 Nov 2022 08:58:03 -0400 Subject: [PATCH] Update docs/advanced-features/debugging.md (#42842) Updated `.vscode/launch.json` debugging file due to the following errors: - `console: pwa-chrome` shows an eslint error recommending `console: chrome` - `console` key is now deprecated. Tested client and server-side debugging on: - Mac v12.6 (21G115) - VSCode v1.73.1 - Chrome v107.0.5304.110 See attached screenshots for linting errors. **console: pwa-chrome** CleanShot 2022-11-12 at 22 06 15@2x **`console`** CleanShot 2022-11-12 at 22 06 37@2x ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## 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 - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [X] Make sure the linting passes by running `pnpm build && pnpm lint` - [X] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) --- docs/advanced-features/debugging.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/advanced-features/debugging.md b/docs/advanced-features/debugging.md index bdcb0a36be2b559..86ba80d0036ed9b 100644 --- a/docs/advanced-features/debugging.md +++ b/docs/advanced-features/debugging.md @@ -24,7 +24,7 @@ Create a file named `.vscode/launch.json` at the root of your project with the f }, { "name": "Next.js: debug client-side", - "type": "pwa-chrome", + "type": "chrome", "request": "launch", "url": "http://localhost:3000" }, @@ -33,7 +33,6 @@ Create a file named `.vscode/launch.json` at the root of your project with the f "type": "node-terminal", "request": "launch", "command": "npm run dev", - "console": "integratedTerminal", "serverReadyAction": { "pattern": "started server on .+, url: (https?://.+)", "uriFormat": "%s",