You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 next dev.
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.
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
The text was updated successfully, but these errors were encountered: