Skip to content
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

docs: add shamefully hoist mention for pnpm users on example launch.json #26447

Merged
merged 3 commits into from
Mar 23, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/2.guide/3.going-further/9.debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ It is possible to debug your Nuxt app in your IDE while you are developing it.

You may need to update the config below with a path to your web browser. For more information, visit the [VS Code documentation about debug configuration](https://go.microsoft.com/fwlink/?linkid=830387).

::important
Make sure you have shamefully-hoist enabled if you use pnpm to properly start your server in debug mode with below configuration.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to suggest adding nuxi to devDependencies?

Copy link
Contributor Author

@ThimoDEV ThimoDEV Mar 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes thats a cleaner solution. I didn't come up with that before.
Would:

Make sure you have nuxi installed as Devdependency if you use pnpm to properly start your server in debug mode with below configuration.

suffice?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds good!

If you use pnpm, you will need to have nuxi installed as a devDependency for the configuration below to work.

danielroe marked this conversation as resolved.
Show resolved Hide resolved
::

```json5
{
// Use IntelliSense to learn about possible attributes.
Expand Down