Node.js
VScode에서 node.js 설정하기
猫猫
2019. 9. 10. 16:50
반응형
일단 node.js 다운
vscode도 다운(이미 받아져있다면 노상관)
작업영역 폴더 설정
launch.json 설정은아래와 같이
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "프로그램 시작",
"program": "${file}",
"runtimeExecutable": "C:/Program Files/nodejs/node.exe",
"cwd": "${workspaceRoot}"
},
{
"type": "node",
"request": "attach",
"name": "프로세스에 연결",
"port": 5858
}
]
}
자꾸 node path 없다는 에러가 뜨는데, node 인스톨 했냐고 묻는다.
아니 깔았으니까 하지!!!
runtimeExcutable 이 경로를 사람들은 exe가 설치된 폴더에 해도 된다는디
나는 안된다.
그래서 걍 열받아서 node.exe까지 하니까 되네??????????
이게 돼????????
오늘도 날린 30분.
반응형