diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2512c53 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Attach to rdbg Process", + "type": "rdbg", + "request": "attach", + "debugPort": "${workspaceRoot}/tmp/sockets/rdbg.socket", + }, + ] + } \ No newline at end of file diff --git a/Procfile.dev b/Procfile.dev index da151fe..7f1b171 100644 --- a/Procfile.dev +++ b/Procfile.dev @@ -1,2 +1,4 @@ -web: bin/rails server +web: rdbg --command --nonstop --sock_path=tmp/sockets/rdbg.socket -- bundle exec bin/rails server +//web: rdbg --command --nonstop --open=vscode --sock_path=tmp/sockets/rdbg.socket -- bundle exec bin/rails server +//web: bin/rails server css: bin/rails tailwindcss:watch