Replies: 1 comment
-
@meglio Did you ever figure this out? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation misses details on how to debug a yarn managed project when using Vite.
What the documentation says for Vite:
In
package.json
, set"dev": "remix vite:dev"
.To debug, run:
NODE_OPTIONS="--inspect-brk" npm run dev
Now, what Yarn documentation says for the "run" command:
... and gives an example:
yarn run --inspect-brk webpack
Now, the end goal is to have a single command in
package.json
like this:"debug": "... something ..."
So that I can either use
yarn dev
oryarn debug
in console and not worry about all those parameters etc. But it seems like there is no clear path to that?Beta Was this translation helpful? Give feedback.
All reactions