Print(f'Hi, ') # Press Ctrl+F8 to toggle the breakpoint. #pydevd_ttrace('localhost', port=5678, stdoutToServer=True, stderrToServer=True)
#Pycharm debugger code
# Use a breakpoint in the code line below to debug your script.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. # Press Shift+F10 to execute it or replace it with your code. kubectl proxy, ksync, skaffold and telepresence are working perfectly fine. To remediate this the MTU is set to 1380. Sending TLS traffic through a VPN connection sometimes create issues with packet size and fragmentation. The connection to the cluster is routed through Wireguard VPN since it is a private cluster. I thought it might be a problem with Python3 in the container compiled by a different GCC compiler The stuff beginning with "INFO new connection" only shows up when interrupting the app with CTRL-C. INFO starting tcp tunnel from source 5678 to target 5678ĭEBU attempting to receive from stream So there is a successful connection attempt made. Like if the connection was opened and closed at the same time. Pydevd_ttrace('127.0.0.1', port=5678, stdoutToServer=True, stderrToServer=True, suspend=False)įile "/home/precisionlims/.local/lib/python3.9/site-packages/pydevd.py", line 1689, in settrace When stopping the remote application with CTRL-C the stdout/stderr is nonetheless transmitted to P圜harm and appears in the debug console:įile "/opt/app-root/./main.py", line 9, in
#Pycharm debugger install
In the source code (using pip install pydevd-pycharm~=211.7628.24 as the P圜harm run/debug configuration tells me) the P圜harm debugger doesn't start the debugging process properly. Pydevd_ttrace('localhost', port=5678, stdoutToServer=True, stderrToServer=True) After starting the P圜harm debugger with IDE host name 0.0.0.0, port 5678 and correct path mappings, then setting up the tunnel and starting the remote application with