- Open Run > Edit Configurations…
- Select the desired server from the left hand menu.
- Add the following line in the VM options field: -javaagent:[path/to/]xrebel.jar
- Press OK to save the changes and close the configuration window.
# alias for set proxy setting
alias setproxy='export all_proxy=socks5://127.0.0.1:1080;export no_proxy=localhost,127.0.0.1/8;echo "HTTP Proxy on";echo "all_proxy=$all_proxy";echo "no_proxy=$no_proxy";'
# alias for unset proxy setting
alias unsetproxy='unset all_proxy;echo "HTTP Proxy off";'
# alias for show proxy setting
alias showproxy='echo "proxy config for http";echo "all_proxy=$https_proxy";'