Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
fix: downgrade on Next 9.2 since debug bug in 9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pom421 committed Mar 27, 2020
1 parent 8fa1a32 commit 28604d9
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 420 deletions.
30 changes: 20 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,27 @@
{
"type": "node",
"request": "launch",
"name": "Next: Node",
"runtimeExecutable": "${workspaceFolder}/node_modules/next/dist/bin/next",
// "runtimeArgs": [
// "--inspect"
// ],
"env": {
"NODE_OPTIONS": "--inspect-brk"
"name": "Next: Node old",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"debug",
"--",

"--inspect-brk=39015"
],
"port": 39015,
"console": "integratedTerminal"
},
"port": 9229,
"console": "integratedTerminal"
}
{
"type": "node",
"request": "attach",
"name": "Next: Node",
"skipFiles": [
"<node_internals>/**"
],
"port": 9229
}
],
"compounds": [
{
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "env-cmd -f ./.env.dev next dev",
"build": "node -r dotenv/config node_modules/next/dist/bin/next build",
"debug": "NODE_OPTIONS='--inspect' node -r dotenv/config node_modules/next/dist/bin/next dev",
"start": "node -r dotenv/config node_modules/next/dist/bin/next start",
"test": "jest",
"lint": "eslint .",
Expand All @@ -31,7 +32,7 @@
"micro-cors": "^0.1.1",
"moize": "^5.4.5",
"moment": "^2.24.0",
"next": "^9.3.0",
"next": "^9.2.0",
"next-connect": "^0.6.0",
"next-cookies": "^2.0.3",
"pg": "^7.12.1",
Expand Down
Loading

0 comments on commit 28604d9

Please sign in to comment.