Add "remote-debugging-port" switch, fixes #498.

@zcbenz, please take a look, thanks!