Visual Studio Code调试代码配置

npm 部署程序

# .vscode/launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "command": "nvm use v14.20.0 && npm run dev",
            "name": "MY_NVM_DEV",
            "request": "launch",
            "type": "node-terminal"
        }
    ]
}

Python程序

# .vscode/settings.json

{
    "python.pythonPath": "/home/work/miniconda3/envs/leastereo/bin/python"
}
This entry was posted in 小技巧. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.