Created
June 6, 2016 15:28
-
-
Save GEOFBOT/8d0c84a323a1da4e61ab8ef695929d51 to your computer and use it in GitHub Desktop.
A little fish shell function to run an Apache Flink job that waits for a JVM debugger to connect to localhost:5005
This file contains 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
function flink-debug | |
set -lx JVM_ARGS -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 | |
eval $argv[1..-1] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment