Skip to content

Commit 7297a8b

Browse files
Add debug config
1 parent 6b88cea commit 7297a8b

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Next.js: debug client-side",
6+
"type": "chrome",
7+
"request": "launch",
8+
"url": "http://localhost:3001"
9+
}
10+
]
11+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"dev": "next dev",
6+
"dev": "next dev --port=3001",
77
"build": "next build",
88
"start": "next start",
99
"lint": "eslint"

0 commit comments

Comments
 (0)