mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
9 lines
325 B
Python
9 lines
325 B
Python
def set_trace():
|
|
import pydevd_pycharm
|
|
|
|
# this ip address is for the gateway IP, equivalent to host.docker.internal which
|
|
# isn't available on all platforms
|
|
gateway_ip = "172.17.0.1"
|
|
# Use the same port number configured in PyCharm
|
|
pydevd_pycharm.settrace(host=gateway_ip, port=12345, suspend=False)
|