</div> <div class="page"> <div class="content"><h1 id="debugging"><a href="#debugging" aria-hidden="true" class="header-anchor">#</a> Debugging</h1> <p>To open up debugging console, right click on an element and select Inspect.</p> <div class="language-python extra-class"><pre class="language-python"><code><span class="token keyword">import</span> webview

<span class="token keyword">if</span> __name__ <span class="token operator">==</span> <span class="token string">'__main__'</span><span class="token punc