-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I wonder if it would be possible to add custom DTD services, to allow custom devtools extensions to run code outside of the front-end.
I'm currently dealing with an issue where I need to call an API in my devtools extension, but I'm blocked by CORS headers. I want to move the API request to run on the back-end to avoid this and was thinking if it would be possible to have an extension on the back-end side of the devtools.
Other solutions would be to run a separate app locally, acting as a proxy, to send the requests to the external API, but I want to avoid the tedious setup and have everything available via a single devtools extension.
I think this could allow a lot of other possibilities as well.
I've been looking into how DTD sets up internal services and registers them to a DtdClient, allowing devtools to interact with them and I wonder if we could extend this with custom services.