Skip to content

guideline for vs code mix debug python and web at the same time #4

@congzhangzh

Description

@congzhangzh

for web content debug, you need browser debug protocol, which vs code support.

For windows and WebView2, some tricks may works

import os
os.environ["WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS"]= " --remote-debugging-port=9222 "

refs:

webview/webview#1291 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions