본문 바로가기
CodeStates/└ Visual Studio Code

Visual Studio Code issue

by Dream_World 2020. 7. 15.

"자주 발생하므로 설치를 다 해도 발생할 경우 Breakpoints - Remove All Breakpoints 클릭"

 

Error processing "breakpointLocations" 

Error processing "breakpointLocations": TypeError: Cannot read property 'line' of undefined
    at breakpoints.forEach (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.node-debug2/node_modules/vscode-chrome-debug-core/out/src/transformers/baseSourceMapTransformer.js:156:55)
    at Array.forEach (<anonymous>)
    at EagerSourceMapTransformer.setBreakpointsResponse (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.node-debug2/node_modules/vscode-chrome-debug-core/out/src/transformers/baseSourceMapTransformer.js:147:29)
    at NodeBreakpoints.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.node-debug2/node_modules/vscode-chrome-debug-core/out/src/chrome/breakpoints.js:309:69)
    at Generator.next (<anonymous>)
    at fulfilled (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.node-debug2/node_modules/vscode-chrome-debug-core/out/src/chrome/breakpoints.js:7:58)

 

해결 방안

code insiders 설치

 

Download Visual Studio Code Insiders

For early adopters, you can get the latest release of VS Code each day with the Insiders Build. Available on Mac, Linux and Windows.

code.visualstudio.com

 

Error processing "breakpointLocations" 

Error processing "breakpointLocations": Error: Cannot retrive script context
    at Client.processMessage (/usr/share/code/resources/app/extensions/ms-vscode.node-debug2/node_modules/noice-json-rpc/lib/noice-json-rpc.js:66:36)
    at LoggingSocket.<anonymous> (/usr/share/code/resources/app/extensions/ms-vscode.node-debug2/node_modules/noice-json-rpc/lib/noice-json-rpc.js:42:48)
    at LoggingSocket.emit (events.js:208:15)
    at Receiver.receiverOnMessage (/usr/share/code/resources/app/extensions/ms-vscode.node-debug2/node_modules/ws/lib/websocket.js:789:20)
    at Receiver.emit (events.js:203:13)
    at Receiver.dataMessage (/usr/share/code/resources/app/extensions/ms-vscode.node-debug2/node_modules/ws/lib/receiver.js:422:14)
    at Receiver.getData (/usr/share/code/resources/app/extensions/ms-vscode.node-debug2/node_modules/ws/lib/receiver.js:352:17)
    at Receiver.startLoop (/usr/share/code/resources/app/extensions/ms-vscode.node-debug2/node_modules/ws/lib/receiver.js:138:22)
    at Receiver._write (/usr/share/code/resources/app/extensions/ms-vscode.node-debug2/node_modules/ws/lib/receiver.js:74:10)
    at doWrite (_stream_writable.js:418:12)

해결 방안

npm install -g node-inspect

 

Debugging - Getting Started | Node.js

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

nodejs.org

 

'CodeStates > └ Visual Studio Code' 카테고리의 다른 글

Visual Studio Code Extension 추천  (0) 2020.06.27

댓글