web: use debug mode but not autoreload
use independence errors to collect errors
threading when debug