[Firefox] Fix: update regex to let the .json file point to the correct URL; add debug folder for dbeug builds.