Skip to content
Snippets Groups Projects
Commit bf897fb9 authored by Benedikt's avatar Benedikt
Browse files

chnaged to actual hosts ip adress

parent a90fc93f
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,8 @@ if os.getenv('ENABLE_REMOTE_DEBUG') == '1':
try:
import pydevd_pycharm
# Set the debugger to connect back to PyCharm using the specified port
pydevd_pycharm.settrace('host.docker.internal', port=6003, stdoutToServer=True, stderrToServer=True)
print(f"Remote debugging is enabled. Connecting to debug server at host.docker.internal:6003")
pydevd_pycharm.settrace(get_ip_address(), port=6003, stdoutToServer=True, stderrToServer=True)
print(f"Remote debugging is enabled. Connecting to debug server at "+str(get_ip_address())+":6003")
except ImportError:
print("pydevd_pycharm is not installed. Please install it for remote debugging.")
sys.exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment