-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebView2 VS Code debugging corrections #3397
Conversation
I will copy changes from PR #3383 IMO, the following is preferable instead of the present PR: If you want more credit in GitHub account page or Learn.microsoft.com article, an alternative is we can Close Without Merging the present PR, and you can re-create a fresh PR in your fork of repo. If you create a PR, start from/ base it on the latest, up-to-date pull from "main" branch. At github in your fork of the Before editing a .md file, make sure it's in the expected, latest state, with latest changes per "main" or "live" branch. (Being careful here b/c of previous problem w/ merges.) |
Learn Build status updates of commit 8ae6f5e: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit 871d5a2: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
@mikehoffms: I've created another PR for this: #3414. You can terminate this one. |
This PR re-applies changes from #3383, which was merged, but apparently overwritten and didn't go through the PR process. Or we might replace the present PR by a fresh PR created by @mikosg which I think is preferable.
Corrections of VS Code
launch.json
syntax:"useWebView": true
property is not allowed for"request": "attach"
configs, only for"request": "launch"
configs. For attaching configs,useWebView
accepts an object instead of aboolean
value, where thepipeName
property for UWP apps shall be specified, as correctly stated in the UWP section.--remote-debugging-port=9222
command line argument is also needed for"request": "launch"
type configs when customruntimeExecutable
is used. It can be supplied either via environment variable or via registry key.Rendered article sections for review:
/webview2/how-to/debug-visual-studio-code.md
"useWebView": true
AB#56291878