setup debugging for Next.js

This commit is contained in:
Zaiste 2021-04-19 15:40:09 +02:00
parent 01243682ce
commit 740192affe
No known key found for this signature in database
GPG Key ID: 15DF7EBC7F2FFE35

View File

@ -2,7 +2,7 @@
"name": "nextjs-commerce",
"version": "1.0.0",
"scripts": {
"dev": "next dev",
"dev": "NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"start": "next start",
"analyze": "BUNDLE_ANALYZE=both yarn build",