##はじめに
Railsで開発していると必ず使うであろうデバッグ(binding.pry)をVScodeで簡単に出せる方法を紹介します。
##設定
###1 VScode上でcommand +shift + P → Configure User Snippetsを選択
###3 下記のコードを追加
"prefix"の値を変えるとpryではなく好きな文字からbinding.pryに変換できます。
ruby.json
"Debug Console": {
"prefix": "pry",
"body": "binding.pry\n",
"description": "A runtime developer console"
}