[ https://issues.apache.org/jira/browse/FLINK-23821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413872#comment-17413872 ]
Huang Xingbo commented on FLINK-23821: -------------------------------------- Hi [~Jiangang], for the python_worker_execution_mode parameter, we do not intend to expose it to users, we just manipulate this value in the test. As you can see, in `test_stream_execution_environment.py` and `test_dependency.py` we have tested the loopback mode, while other tests we will use the process mode. The main value of loopback mode is to allow users to debug when running python udf in local, so as a tester, you only need to test whether you can debug locally. > Test loopback mode to allow Python UDF worker and client reuse the same > Python VM > --------------------------------------------------------------------------------- > > Key: FLINK-23821 > URL: https://issues.apache.org/jira/browse/FLINK-23821 > Project: Flink > Issue Type: Improvement > Components: API / Python > Reporter: Huang Xingbo > Assignee: Liu > Priority: Blocker > Labels: release-testing > Fix For: 1.14.0 > > > The newly introduced feature allows users to debug their python functions > directly in IDEs such as PyCharm. > For the details of debugging, you can refer to > [doc|https://ci.apache.org/projects/flink/flink-docs-master/docs/dev/python/debugging/#local-debug] > and for the details of how to debug in PyCharm, you can refer to the > [doc|https://www.jetbrains.com/help/pycharm/debugging-your-first-python-application.html] -- This message was sent by Atlassian Jira (v8.3.4#803005)