I seem to be having trouble disabling modules on my M2 2.3.1 store. Example: I had installed the CommerceBug development module but wanted to test my site without it so I ran
Magento reported that the module was disabled. (I then ran the usual
setup:upgrade, deleted all cache/generated/static directories and cleared all redis caches), but I found that the module was still outputting its CSS and JS files via the frontend.
This behaviour only stopped when I uninstalled the module using
There is a good explanation of what
module:uninstall does in the Magento Dev Docs but there is not an equivalent explanation for
So what does
module:disable actually do? Is it meant to prevent CSS/JS/etc. from being included? How does it differ from "Disable module output" in the admin panel?