Debugger Attached during development

45 views
Skip to first unread message

Brendan Buono

unread,
Nov 22, 2023, 10:45:20 AM11/22/23
to chromium-...@chromium.org
Hey folks,
I'm curious as to if there is any documentation around attaching a debugger to an extension while developing. I haven't been able to find anything, and it's been a hindrance as a start out.

Thanks in advance!

Oliver Dunk

unread,
Nov 22, 2023, 10:50:06 AM11/22/23
to Brendan Buono, chromium-...@chromium.org
Hey Brendan,

Would you mind saying a bit more about what you're looking for?

We have some general tips on debugging extensions here: https://developer.chrome.com/docs/extensions/mv3/tut_debugging/. You can set breakpoints just like you can with an ordinary website.

If you mean attaching a debugger that is running externally, such as in your IDE, this isn't something I've played with or we have documentation for. It might be possible, but I genuinely don't know!
Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAG6yPVNsnV%2BXKhq3_bkynhgjj%2B2dKNGC0wWGf34t850OS-hfaA%40mail.gmail.com.

Brendan Buono

unread,
Nov 22, 2023, 10:53:56 AM11/22/23
to Oliver Dunk, chromium-...@chromium.org
Hey Olivier,
I did mean an external debugger, sorry for the ambiguity! Thanks for the information; I've been using the chrome dev tools, I just have my VSCode debugging setup in a way I like to use :).

I'll play around with attaching it to Chrome and see if that works, thanks!

Reply all
Reply to author
Forward
0 new messages