起動
設定ファイルフォルダ/.vscode/launch.json
項目
スキーマのバージョンを指定
"version": "0.2.0"
必須
実行方法の指定
"configurations": [
{ "name": "実行方法1", "type": "タイプ", "request": "launch", "program": "${file}", "cwd": "${fileDirname}", "console": "integratedTerminal", "arg": ["引数1", ...] }, ... 実行するデバッガーの種類"type": "タイプ"
起動する
"request": "launch"
開いているファイルを実行
"program": "${file}"
開いているファイルの親ディレクトリをカレントディレクトリにする
"cwd": "${fileDirname}"
出力先のターミナルを指定する
"console": "integratedTerminal" 引数を指定する
"arg": ["引数1", ...]
引数を実行時に指定する
"args": "${command:pickArgs}"
0