In 2025, you need to disable the --turbopack
option run the dev
run configuration for debugging to work in webstorm.
I made a dev-no-turbo
run configuration in package.json
for use in debugging:
"dev": "next dev --turbopack",
"dev-no-turbo": "next dev",