Skip to content

Commit

Permalink
Update docs/app-rails/technical-foundation.md
Browse files Browse the repository at this point in the history
Co-authored-by: Rocket <[email protected]>
  • Loading branch information
SammySteiner and rocketnova authored Jun 18, 2024
1 parent 4bc2a02 commit 6a90973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app-rails/technical-foundation.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Rails has some useful [built-in debugging tools](https://guides.rubyonrails.org/

- Start the rails console: `make rails-console`
- Run a console in the browser:
- Add a `console` with `<% console %>` line to an `.erb` file and an interactive console, similar to the rails console, will appear in the bottom half of your browser window
- Add `<% console %>` to an `.erb` file and an interactive console, similar to the rails console, will appear in the bottom half of your browser window.
- Note: If the console doesn't appear when running in a docker container, check to see if your IP address is added to the permissions list in [development.rb](app-rails/config/environments/development.rb) in `config.web_console.permissions`. The list is currently set to allow most internal IPs. You would also see an error in your terminal that looks something like: `Cannot render console from <your.IP.address.here>! Allowed networks: 127.0.0.0/127.255.255.255, ::1`
- Run the debugger:
- Add a `debugger` line and the rails server will pause and start the debugger
Expand Down

0 comments on commit 6a90973

Please sign in to comment.