Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

VSCode Debugging #52

Open
aklinker1 opened this issue Jul 20, 2023 · 2 comments
Open

VSCode Debugging #52

aklinker1 opened this issue Jul 20, 2023 · 2 comments

Comments

@aklinker1
Copy link
Collaborator

aklinker1 commented Jul 20, 2023

We should be able to set breakpoints in our editor.

I have never setup a debugging connection like this before, I assume it's possible. web-ext uses open, which opens a debug port. Somehow we just need to tell VS Code (and other editors) what that port is? I need to research this a bit more.

Links

@aklinker1 aklinker1 added this to the v1.0 milestone Jul 20, 2023
@aklinker1 aklinker1 changed the title VS Code debugger Debugging Jul 20, 2023
@aklinker1 aklinker1 changed the title Debugging Runtime Debugging Sep 5, 2023
@aklinker1 aklinker1 changed the title Runtime Debugging VSCode Debugging Sep 23, 2023
@aklinker1
Copy link
Collaborator Author

mozilla/web-ext#2891

@aklinker1 aklinker1 modified the milestones: v1.0, DX Improvements Oct 30, 2023
@aklinker1
Copy link
Collaborator Author

Someone figured it out. It's not using web-ext to open the browser, but it might be possible to pass the same args into web-ext:

aklinker1/vite-plugin-web-extension#147 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant