From 2e17ac229868de68ce0851f6f22dbc037d5b3236 Mon Sep 17 00:00:00 2001 From: Delba de Oliveira Date: Tue, 27 Aug 2024 14:26:42 +0100 Subject: [PATCH] Add missing debugging page to App Router docs --- .../07-configuring/16-debugging.mdx} | 2 ++ .../{14-preview-mode.mdx => 13-preview-mode.mdx} | 0 ...-security-policy.mdx => 14-content-security-policy.mdx} | 0 .../06-configuring/15-debugging.mdx | 7 +++++++ 4 files changed, 9 insertions(+) rename docs/{03-pages/01-building-your-application/06-configuring/13-debugging.mdx => 02-app/01-building-your-application/07-configuring/16-debugging.mdx} (96%) rename docs/03-pages/01-building-your-application/06-configuring/{14-preview-mode.mdx => 13-preview-mode.mdx} (100%) rename docs/03-pages/01-building-your-application/06-configuring/{15-content-security-policy.mdx => 14-content-security-policy.mdx} (100%) create mode 100644 docs/03-pages/01-building-your-application/06-configuring/15-debugging.mdx diff --git a/docs/03-pages/01-building-your-application/06-configuring/13-debugging.mdx b/docs/02-app/01-building-your-application/07-configuring/16-debugging.mdx similarity index 96% rename from docs/03-pages/01-building-your-application/06-configuring/13-debugging.mdx rename to docs/02-app/01-building-your-application/07-configuring/16-debugging.mdx index dcf49ab467d1b..84422d292f229 100644 --- a/docs/03-pages/01-building-your-application/06-configuring/13-debugging.mdx +++ b/docs/02-app/01-building-your-application/07-configuring/16-debugging.mdx @@ -3,6 +3,8 @@ title: Debugging description: Learn how to debug your Next.js application with VS Code or Chrome DevTools. --- +{/* The content of this doc is shared between the app and pages router. You can use the `Content` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */} + This documentation explains how you can debug your Next.js frontend and backend code with full source maps support using either the [VS Code debugger](https://code.visualstudio.com/docs/editor/debugging) or [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools). Any debugger that can attach to Node.js can also be used to debug a Next.js application. You can find more details in the Node.js [Debugging Guide](https://nodejs.org/en/docs/guides/debugging-getting-started/). diff --git a/docs/03-pages/01-building-your-application/06-configuring/14-preview-mode.mdx b/docs/03-pages/01-building-your-application/06-configuring/13-preview-mode.mdx similarity index 100% rename from docs/03-pages/01-building-your-application/06-configuring/14-preview-mode.mdx rename to docs/03-pages/01-building-your-application/06-configuring/13-preview-mode.mdx diff --git a/docs/03-pages/01-building-your-application/06-configuring/15-content-security-policy.mdx b/docs/03-pages/01-building-your-application/06-configuring/14-content-security-policy.mdx similarity index 100% rename from docs/03-pages/01-building-your-application/06-configuring/15-content-security-policy.mdx rename to docs/03-pages/01-building-your-application/06-configuring/14-content-security-policy.mdx diff --git a/docs/03-pages/01-building-your-application/06-configuring/15-debugging.mdx b/docs/03-pages/01-building-your-application/06-configuring/15-debugging.mdx new file mode 100644 index 0000000000000..c6193004d8001 --- /dev/null +++ b/docs/03-pages/01-building-your-application/06-configuring/15-debugging.mdx @@ -0,0 +1,7 @@ +--- +title: Debugging +description: Learn how to debug your Next.js application with VS Code or Chrome DevTools. +source: app/building-your-application/configuring/debugging +--- + +{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `Content` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}