VS Code debug warning

Debugging with legacy protocol because Node xxxx v7.9.x was detected.

=> 在vs code的 launch.json中把 protocol 设成 inspector 即可

 

see https://github.com/Microsoft/vscode/issues/24764

https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_supported-nodelike-runtimes

 

Advertisements
This entry was posted in Nodejs. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s