 		writeOutput('<br>');
 		writeOutput(br(arguments.error.detail));
 
-		if(longversion) {
+		if(!isNull(url.debug) || longversion) {
 			if(StructKeyExists(error,"TagContext")){
 				loop array="#error.TagContext#" index="local.i" item="local.tc" {
 					writeOutput('<br><span class="comment">');

					//dump(error.TagContext[i]);
				}
			}
		}
		//ErrorCode,addional,TagContext,StackTrace,type,Detail,Message,ExtendedInfo
		writeOutput('</div>');

	for(var i=1; i LTE arrayLen(qsArr); i=i+1) {
		item=listToArray(qsArr[i],'=');
		if(not structKeyExists(others,item[1]) and item[1] NEQ "action" and item[1] NEQ "action2") {
			rtn=rtn&'&'&item[1]&"="&(item[2]?:"");
		}
	}

