#author("2019-01-20T20:02:49+09:00","default:ryuichi","ryuichi")
#author("2019-01-27T18:41:57+09:00","default:ryuichi","ryuichi")
* 任意の環境変数を設定 [#s45989e3]
{
{
// Use IntelliSense to learn about possible 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": "${file}",
"env": {
"BROWSER": "Chrome"
}
}]
}
}
- launch.jsonに上のようにenvを追加して、任意の環境変数を設定する。
- この場合、環境変数BROWSERに値"chrome"を設定している。