Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 2.02 KB

File metadata and controls

50 lines (31 loc) · 2.02 KB

devcontainer for Ruby 3 and Rails 7

Ruby3, Ruby on Rails 7 の開発環境用の devcontainer

devcontainerを利用する

remote container のインストール

※ devcontainer に必要なツールのインストールはこちら

devcontainerの起動

  1. VSCodeを開き、 Reopen in Container を実行する

操作

サーバーの立ち上げ

devcontainer上でTerminalを開き、コマンドを実行する

$ bin/rails s

Debugging

devcontainer上で、 デバッグを実行 を実行する(ショートカットキー: F5)

デバッグを実行 を利用するとVSCode Debuggingが利用可能

debugging

VSCode extensions

構成

docker compose で構成

リファレンス