Skip to content

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

Open

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)

Activity

  1. congzhangzh commented on Sep 14, 2025

    @congzhangzh
    OwnerAuthor

    btw, I create a sister project which:

    1. use webview, frontend use vue,
    2. I do all the config which will show how to mix debug both frontend vue and backend python
    3. how to use pyinstaller to release it

    https://github.com/congzhangzh/python_desktop_app_with_vue_template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions