전체 글 (126) 썸네일형 리스트형 [VSCode] nodejs 디버깅 방법 1. 디버깅 설정파일 생성 Run and Debug (Ctrl+Shift+D) 클릭 > create a launch.json file 클릭 > Node.js 선택 2. launch.json 설정 추가 Add Configuration... 클릭 > Node.js: Attach to Process 클릭 name이 Attach by Process ID인 코드가 추가되며 디버그 구성 선택메뉴에도 보이는 것을 확인 할 수 있음. 3. nodemon을 이용해 서버 실행. 4. 디버깅 시작(F5) 셋팅했던 디버깅 설정을 시작하면 process 선택 화면이 나온다. 실행하고자하는 파일을 선택. 서버가 실행되고 있는 화면을 보면 디버거가 연결됬다는것을 확인 할 수 있다. 브레이크 포인트를 걸어 디버깅 . Sequelize migration Manual | Sequelize Migrations Just like you use version control systems such as Git to manage changes in your source code, you can use migrations to keep track of changes to the database. With migrations you can transfer your existing database into another state and vice ver sequelize.org 0. npx 명령어 실행 시 Unable to resolve sequelize package ~.라고 뜬다면 package.json이 있는 경로에서 실행 할 것. 1. 모델 정의 또는 수정 np.. Ubuntu Apache VirtualHost 설정 1.아파치 설정파일 위치 확인 apache2 -V | egrep "(HTTPD\_ROOT|SERVER\_CONFIG\_FILE)" sudo vim /etc/apache2/sites-available/000-default.conf 아파치 설정파일 httpd.conf, apache2.conf 위치 확인 - 제타위키 다음 문자열 포함... zetawiki.com 2. Ubuntu VirtualHost 설정 파일 수정 ServerName aaa.song.co.kr//서버 접속 도메인 DocumentRoot /home/frontend//root디렉토리, 폴더경로 ErrorLog /home/frontend/web_log/error.log//에러로그 경로 CustomLog /home/frontend/web_log/a.. 이전 1 ··· 5 6 7 8 9 10 11 ··· 42 다음