Background
At the moment it is hard to debug Codex issues directly from a MediaWiki instance because the included file in resources/lib/codex is a compiled umd module.
Goal
We should facilitate to directly debug Codex issues from MW instances with the regular mechanism ?debug=1 & ?debug=2 (original task: T85805)