deivid-rodriguez / byebug

Debugging in Ruby 2
BSD 2-Clause "Simplified" License
3.34k stars 328 forks source link

Default port in byebug CLI #827

Open ryanb opened 3 years ago

ryanb commented 3 years ago

What do you think about using the default port in the byebug command to match the default port when starting the server (Byebug::PORT)?

byebug -R
# shorthand for
byebug -R 8989

Then one just needs to call remote_byebug and run byebug -R without needing to remember the port number.