Skip to content

Commit c95f52f

Browse files
committed
Adding remote debug to example
1 parent 45d086a commit c95f52f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/pywin32.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def main(multi_threaded_message_loop):
2323
check_versions()
2424
sys.excepthook = cef.ExceptHook # To shutdown all CEF processes on error
2525

26-
settings = {"multi_threaded_message_loop": 1 if multi_threaded_message_loop else 0}
26+
settings = {"multi_threaded_message_loop": 1 if multi_threaded_message_loop else 0,
27+
"remote_debugging_port": 2020}
2728
cef.Initialize(settings)
2829

2930
wndproc = {

0 commit comments

Comments
 (0)