#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"を設定している。

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS