loading pages from extensions

It is better to check "isDebug"