-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Option to always show webview developer tools while developing a custom editor extension #118919
Comments
@connor4312 is there a better way to do this? I see #96626, is there a way to debug extension contributed webviews within VS Code? |
Yes, you can do this. Check out #101320 |
@connor4312 Maybe I'm doing something wrong wrt debugging though, I do have a warning in launch.json still: |
Set your launch type to
cc @mjbvz |
Please open a separate issue if something about iframe based webviews is not working |
It works 😍 I'm having issues getting ts breakpoints bound but that's likely a sourcemaps issue on my end since js breakpoints are hit. Thanks for the help! |
I have set up this keybinding to lessen the pain of opening up the webview's devtools every time I open an image tab:
It would be much nicer if we could have some way while developing an extension to open the webview devtools for a particular webview automatically when the webview is shown. This would probably make the most sense as part of the launch.json, eg:
The text was updated successfully, but these errors were encountered: