To access something from the devtools, it needs to be globally accessible
One way of doing it is by assigning it to the window object, for example:
import phoenix from "phoenix";
window["phoenix"] = phoenix;
Then in the devtools you can now access it as phoenix. It should work regardless of the build tool you’re using.
Generally, importing a library with a script tag pointing to the file(like https://www.unpkg.com/phoenix@1.5.4/assets/js/phoenix.js) works too, but I don’t know if it does for phoenix too






















