You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dynamic import fails in DevTools inspector (invalid host defined options) #35307
On a regular (client-side) DevTools panel console and from REPL, i can use import("./index.js").then(console.log) no problem.
When i try to do the same in an instance of chrome's node inspector connected to localhost:9229 though, i get
TypeError: Invalid host defined options
at <anonymous>:1:1
How often does it reproduce? Is there a required condition?
everytime, while running a node process with --inspect flag
(node --inspect)
What is the expected behavior?
importing the module present on the execution path.
changed the title [-]Invalid host defined options error on dynamic import in DevTools inspector[/-][+]Dynamic import fails in DevTools inspector (invalid host defined options)[/+]on Sep 23, 2020
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 120 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.
Activity
[-]Invalid host defined options error on dynamic import in DevTools inspector[/-][+]Dynamic import fails in DevTools inspector (invalid host defined options)[/+]DavidPeicho commentedon Oct 18, 2022
Getting the same using the embedder API. Is there anything to setup in the environment for this to work?
github-actions commentedon Jun 27, 2026
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
github-actions commentedon Jul 28, 2026
This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 120 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.