[ https://issues.apache.org/jira/browse/FLINK-9718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532630#comment-16532630
]
ASF GitHub Bot commented on FLINK-9718:
---------------------------------------
Github user yanghua commented on a diff in the pull request:
https://github.com/apache/flink/pull/6245#discussion_r200091741
--- Diff: flink-scala-shell/start-script/start-scala-shell.sh ---
@@ -19,6 +19,9 @@
# from scala-lang 2.10.4
+# Uncomment the following line to enable remote debug
+# export FLINK_SCALA_SHELL_JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
--- End diff --
OK, I just think using a comment which may been ignored by the user. And using a bool
flag which also can control whether add `FLINK_SCALA_SHELL_JAVA_OPTS ` as a option to java
command or not. Please feel free to follow your idea.
> Add enviroment variable in start-scala-shell.sh to enable remote debug
> ----------------------------------------------------------------------
>
> Key: FLINK-9718
> URL: https://issues.apache.org/jira/browse/FLINK-9718
> Project: Flink
> Issue Type: Improvement
> Reporter: Jeff Zhang
> Priority: Major
> Labels: pull-request-available
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
|