If you're doing things right, you have several servers for your developments. The production server of course, a development server, a stage server almost identical to production and maybe others for temporary developments. It's not always easy to switch between them. To help, I prepared a bookmarklet generator. Enter a title, the different domains for each server. A click on generate and then you only need to put that in your bookmarks.

As usual, the code is available and waiting for your contributions.