Unable to debug under windows #8833
Unanswered
TimBoonstra
asked this question in
Q&A
Replies: 2 comments
-
I've been trying to debug for a while now, and could not get it working. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey all, this is more of a Next.js question at this point than a Payload question because we don't have any specific startup command of our own. It's just I would defer to Next.js debugging for more information here, but I will convert this to a discussion so that we can talk about solutions here on the Payload repo as well. If anyone comes across a solution, please share it! We will report back if we do as well. |
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
-
Describe the Bug
I've been trying to get debugging to work onder windows with Visual Studio Code using the V3 beta with the demo website.
I've installed v3 using:
pnpm dlx [email protected]
SQL Lite as DB with de demo site and seeded trough the admin panel.
Modified the .vscode launch.json to use pnpm dev instead of yarn dev:
and set brakepoints on most page.tsx files / functions in src/app/(frontend)/ and sub folders . however i never hit any of the breakpoints :(
I've also tried this on 2 seperate pc's, one with normal npm but running into the same problem.
i've also tried nextjs example json :
But no brakepoints are ever hit.
Can the documentation / demo website be updated with debugging settings for windows.
Link to the code that reproduces this issue
https://github.com/payloadcms/payload/releases/tag/v3.0.0-beta.114
Reproduction Steps
see description
Which area(s) are affected? (Select all that apply)
area: templates
Environment Info
Payload: v3.0.0-beta.114
Node.js: 20.10.0
Next.js: 15.0.0-canary.173
Visual Studio Code: 1.94.2
Beta Was this translation helpful? Give feedback.
All reactions