I've copied a file to a path that's definitely listed in load-path symbol. But the file doesn't get loaded when running emacs with --debug-init flag.
How would you find out what causes it? It uses straight.el library via Doom emacs macro:
(package! htmlz-mode
:recipe (:host github :repo "0xekez/htmlz-mode"))