How do I add environment variables to launch.json in VSCode

前端 未结 10 798
囚心锁ツ
囚心锁ツ 2020-12-08 01:29

Working with the new VSCode editor on a node.js project. I am attempting to configure my \"Launch\" profile for debugging by editing the launch.json file. I need to setup a

10条回答
  •  粉色の甜心
    2020-12-08 02:19

    I had this same problem and it turns out I had a .env file in my project root which was overriding the launch.json settings. YOU'VE BE WARNED. :)

提交回复
热议问题