Home > Web Front-end > JS Tutorial > body text

How to debug different versions of nodejs with different versions of vscdoe

php中世界最好的语言
Release: 2018-03-07 17:45:24
Original
1618 people have browsed it

This time I will bring you how to debug different versions of vscdoeDebugging Different versions of nodejs, different versions of vscdoe debugging different versions of nodejsWhat are the precautions, the following is a practical case, Let’s take a look.

"runtimeExecutable": "${env:HOME}/.nvm/versions/node/v7.9.0/bin/node",
{    // 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": "Launch Program",            
            "program": "${workspaceRoot}/test.js",            
            "runtimeExecutable": "${env:HOME}/.nvm/versions/node/v7.9.0/bin/node",            
            "sourceMaps": true,            
            "smartStep": true
        },
        {            
            "type": "node",            
            "request": "launch",            
            "name": "Launch Program",            "
            program": "${file}"
        }
    ]
}
Copy after login

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to the php Chinese website Other related articles!

Related reading:

Using CSS counters and multiple columns

What should I do if the browser is not compatible with the code I wrote?

The above is the detailed content of How to debug different versions of nodejs with different versions of vscdoe. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template