Created
November 4, 2020 16:49
-
-
Save smola/e306abc7b820f0349e602a502e9d80d1 to your computer and use it in GitHub Desktop.
AttachMe helper script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run_attachme | |
# | |
# See https://github.com/JetBrains/attachme | |
ATTACHME_CONF="$HOME/.attachme/conf.sh" | |
if [[ ! -f $ATTACHME_CONF ]]; then | |
echo "$ATTACHME_CONF not found." | |
echo "See https://github.com/JetBrains/attachme" | |
exit 1 | |
fi | |
export JDWP_ARGS="transport=dt_socket,server=y,suspend=y,address=127.0.0.1:0" | |
source "$ATTACHME_CONF" | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment