added more debugging info for strict mode errors