Skip to content

Commit ef5a384

Browse files
authored
Run the server with remote debugging enabled (#146)
When running inside foreman the 'debug' gem will not have a proper TTY available. Running with the `--open` option enabled allows to start remote sessions and attach a debugger client with `rdbg --attach`.
1 parent b29e5fe commit ef5a384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install/Procfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
web: unset PORT && bin/rails server
1+
web: unset PORT && env RUBY_DEBUG_OPEN=true bin/rails server
22
js: yarn build --watch

0 commit comments

Comments
 (0)