Next를 공부하며 가장 먼저 찾았던 디버그 모드 적용하는 방법을 소개합니다. 프로젝트 루트 경로에 ./vscode/launch.json 파일을 추가합니다. 그리고 파일안에 아래 내용을 저장합니다. { "version": "0.2.0", "configurations": [ { "name": "Next.js: debug server-side", "type": "node-terminal", "request": "launch", "command": "npm run dev" }, { "name": "Next.js: debug client-side", "type": "chrome", "request": "launch", "url": "http://localhost:3000" }, { "name": "Next.js..
Next.js 디버그 모드
2024. 1. 10.