AtCoderでC++をデバッグするのをこれまでターミナルから行っていたが、VS Codeから行えばエディタとターミナルを切り替える手順が減って効率が上がりそうなので、VS Codeのタスクにしてみた。
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "gcc debug", "type": "shell", "command": "./gcc_debug.sh ${file}" } ] }
コマンドパレットからタスクを実行できて便利。