Skip to content

docs: make instruction clearer #80965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

sajadtorkamani
Copy link
Contributor

@sajadtorkamani sajadtorkamani commented Jun 26, 2025

Just a small thing but reading this section:

CleanShot 2025-06-26 at 19 13 03

I'm inclined to try running:

NODE_OPTIONS='--inspect=0.0.0.0' next dev 

But that gives me this error message which can be a bit confusing:

image

If I instead run:

NODE_OPTIONS='--inspect=0.0.0.0:9229' next dev

Then things work as expected:

CleanShot 2025-06-26 at 19 29 38

9229 is the default Node.js debugger port so thought it made sense to use that.

@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Jun 26, 2025
@sajadtorkamani sajadtorkamani changed the title Make instruction clearer docs: make instruction clearer Jun 26, 2025
@ijjk
Copy link
Member

ijjk commented Jun 26, 2025

Allow CI Workflow Run

  • approve CI run for commit: 768280c

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@icyJoseph
Copy link
Contributor

This is kind of weird, with a plain Node script, you don't have to pass the port, it defaults to 9229 - I wonder if the argument parser is somewhat broken here 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy