MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Visual Studio WebView2 Debugger, cannot pass arguments

Open
#117 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I'm not sure I can talk about the debugger here.

I want to pass some arguments to my WebView2 application.
So, I tried to use "Command Arguments" but they are replaced with other arguments.
Next, I tried to use "Environment" but they are removed or replaced also.
"Working Directory" also replaced with the application directory
I cannot find a way to solve this problem.

I want to debug the Emscripten WASM application with WebView2 debugger.
I created the tiny viewer with WebView2. but I cannot pass anything like the entry point of pages.

AB#28779839

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the tiny WebView2 viewer while debugging the Emscripten WASM application. Check how Command Arguments, Environment, and Working Directory are handled by the WebView2 debugger, and review the linked AB#28779839 work item. Done means the intended arguments, environment, and working directory can be passed during debugging.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
desktop, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.