You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cefexample/cefadvanced.py
+26-19Lines changed: 26 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@
11
11
importos
12
12
importimp
13
13
14
+
DEBUG=True
15
+
14
16
# TODO: creating popup windows from python.
15
17
# TODO: creating modal windows from python.
16
18
# TODO: allow to pack html/css/images to a zip and run content from this file, optionally allow to password protect this zip file (see WBEA implementation).
@@ -20,12 +22,10 @@ def CefAdvanced():
20
22
# This hook does the following: in case of exception display it, write to error.log, shutdown CEF and exit application.
21
23
sys.excepthook=cefpython.ExceptHook
22
24
23
-
# Whether to print debug output to console. It is advised to set this to True while developing application,
24
-
# it is not only printing to output console, it also makes some additional error checking that may go
25
-
# unnoticed otherwise, for example in debug mode it always checks whether V8 objects are created in
26
-
# proper context, if created in wrong context it could result in application crash.
0 commit comments