Why doesnt my debug window show the debug message outputs in my flow?
[{"id":"e6693df7.a3cfa","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"eb571ded.e53f3","type":"modbus-read","z":"e6693df7.a3cfa","name":"","topic":"","showStatusActivities":false,"logIOActivities":false,"showErrors":false,"unitid":"1","dataType":"HoldingRegister","adr":"0","quantity":"21","rate":"1","rateUnit":"m","delayOnStart":false,"startDelayTime":"","server":"4264d3c1.ded4fc","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"x":90,"y":200,"wires":[["797d3ae5.38d634","9a6a4156.4097f"],["7cef1789.59d0b8","2259213f.81dade"]]},{"id":"797d3ae5.38d634","type":"function","z":"e6693df7.a3cfa","name":"","func":"// var msg2 = {payload : msg.payload[1]/10};\n// msg.payload = String.fromCharCode(msg.payload);\n\n//var msg1 = {payload : String.fromCharCode(msg.payload[0])};\n//var msg2 = {payload : String.fromCharCode(msg.payload[1])};\n//var msg3 = {payload : String.fromCharCode(msg.payload[2])};\n//var msg4 = {payload : String.fromCharCode(msg.payload[3])};\n//var msg5 = {payload : String.fromCharCode(msg.payload[4])};\n//var msg6 = {payload : String.fromCharCode(msg.payload[5])};\n//var msg7 = {payload : String.fromCharCode(msg.payload[6])};\n//var msg8 = {payload : String.fromCharCode(msg.payload[7])};\n//var msg9 = {payload : String.fromCharCode(msg.payload[8])};\n//var msg10 = {payload : String.fromCharCode(msg.payload[9])};\n//var msg11 = {payload : String.fromCharCode(msg.payload[10])};\n//var msg12 = {payload : String.fromCharCode(msg.payload[11])};\n//var msg13 = {payload : String.fromCharCode(msg.payload[12])};\n//var msg14 = {payload : String.fromCharCode(msg.payload[13])};\n//var msg15 = {payload : String.fromCharCode(msg.payload[14])};\n//var msg16 = {payload : String.fromCharCode(msg.payload[15])};\n//var msg17 = {payload : String.fromCharCode(msg.payload[16])};\n//var msg18 = {payload : String.fromCharCode(msg.payload[17])};\n//var msg19 = {payload : String.fromCharCode(msg.payload[18])};\n//var msg20 = {payload : String.fromCharCode(msg.payload[19])};\n\n\nvar msg1 = {payload : msg.payload[0]};\nvar msg2 = {payload : msg.payload[1]};\nvar msg3 = {payload : msg.payload[2]};\nvar msg4 = {payload : msg.payload[3]};\nvar msg5 = {payload : msg.payload[4]};\nvar msg6 = {payload : msg.payload[5]};\nvar msg7 = {payload : msg.payload[6]};\nvar msg8 = {payload : msg.payload[7]};\nvar msg9 = {payload : msg.payload[8]};\nvar msg10 = {payload : msg.payload[9]};\nvar msg11 = {payload : msg.payload[10]};\nvar msg12 = {payload : msg.payload[11]};\nvar msg13 = {payload : msg.payload[12]};\nvar msg14 = {payload : msg.payload[13]};\nvar msg15 = {payload : msg.payload[14]};\nvar msg16 = {payload : msg.payload[15]};\nvar msg17 = {payload : msg.payload[16]};\nvar msg18 = {payload : msg.payload[17]};\nvar msg19 = {payload : msg.payload[18]};\nvar msg20 = {payload : msg.payload[19]};\nvar msg21 = {payload : msg.payload[20]};\n\n\n\n//return [msg1, msg2, msg3, msg4, msg5, msg6, msg7, msg8, msg9, msg10, msg11, msg12, msg13, msg14, msg15, msg16, msg17, msg18, msg19, msg20];\n\n\n\n msg.payload = {\n// value: msg.payload[0], msg.payload[1], msg.payload[2], msg.payload[3], msg.payload[4], msg.payload[5], msg.payload[6], msg.payload[7], msg.payload[8], msg.payload[9], msg.payload[10], msg.payload[11], msg.payload[12], msg.payload[13], msg.payload[14], msg.payload[15], msg.payload[16], msg.payload[17], msg.payload[18], msg.payload[19],\n value: msg.payload,\n 'fc': 16, \n 'unitid': 1, \n 'address': 100 , // Have to subtract one from PLC modbus\n 'quantity': 21 } \n // return msg;\n return [msg,msg.payload[20]];","outputs":2,"noerr":0,"initialize":"","finalize":"","x":280,"y":200,"wires":[[],["d74a4291.c4218"]]},{"id":"d74a4291.c4218","type":"switch","z":"e6693df7.a3cfa","name":"","property":"payload[20]","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"neq","v":"1","vt":"num"}],"checkall":"false","repair":false,"outputs":2,"x":370,"y":40,"wires":[["68d47360.93fddc","de556cb9.d8bda"],["18e4e521.874d8b"]]},{"id":"68d47360.93fddc","type":"function","z":"e6693df7.a3cfa","name":"","func":"\nmsg.site = 'AC'\n//msg.serial = msg.payload\nmsg.serial = 'BVGL01272'\n\n\nvar parse1 = '<?xml version=\"1.0\" encoding=\"utf-8\"?>';\nparse1 = parse1 + '\\n' + '<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">';\nparse1 = parse1 + '\\n' + ' <soap:Header>';\nparse1 = parse1 + '\\n' + ' <SoapSettings xmlns=\"http://tempuri.org/\">';\nparse1 = parse1 + '\\n' + ' <IsTest>false</IsTest>';\nparse1 = parse1 + '\\n' + ' <ApplicationID>105B9760-A4A0-4659-BE09-2B6F64980DBD</ApplicationID>';\nparse1 = parse1 + '\\n' + ' <ApplicationKey>C565C1F9-A326-4754-B654-CFA059865820</ApplicationKey>';\nparse1 = parse1 + '\\n' + ' </SoapSettings>';\nparse1 = parse1 + '\\n' + ' </soap:Header>';\nparse1 = parse1 + '\\n' + ' <soap:Body>'\nparse1 = parse1 + '\\n' + ' <GetNamePlateInfoBySite xmlns=\"http://tempuri.org/\">';\nparse1 = parse1 + '\\n' + ' <unitSerialNumber>' + msg.serial + '</unitSerialNumber>';\nparse1 = parse1 + '\\n' + ' <site>' + msg.site + '</site>';\nparse1 = parse1 + '\\n' + ' <billNum>' + msg.billNum + '</billNum>';\nparse1 = parse1 + '\\n' + ' </GetNamePlateInfoBySite>';\nparse1 = parse1 + '\\n' + ' </soap:Body>';\nparse1 = parse1 + '\\n' + '</soap:Envelope>';\nmsg.payload = parse1;\nreturn msg;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":520,"y":40,"wires":[["3337f067.a4ca1"]]},{"id":"3337f067.a4ca1","type":"simple-soap","z":"e6693df7.a3cfa","host":"http://172.16.16.38:8095/MainframeWs/MainframeService.asmx","hostType":"str","path":"","pathType":"str","action":"http://tempuri.org/GetNamePlateInfoBySite","actionType":"str","body":"payload","bodyType":"msg","mustache":false,"attrkey":"$","charkey":"_","stripPrefix":false,"simplify":false,"normalizeTags":false,"normalize":false,"topic":"","name":"","useAuth":false,"x":650,"y":40,"wires":[["aea8c9ea.e82588"]]},{"id":"aea8c9ea.e82588","type":"function","z":"e6693df7.a3cfa","name":"","func":"\nglobal.set(\"CHARGEPERSYSTEM1\",msg.payload[\"soap:Envelope\"][\"soap:Body\"].GetNamePlateInfoBySiteResponse.GetNamePlateInfoBySiteResult[\"diffgr:diffgram\"].DocumentElement.Data.CHARGEPERSYSTEM1)\nglobal.set(\"CHARGEPERSYSTEM2\",msg.payload[\"soap:Envelope\"][\"soap:Body\"].GetNamePlateInfoBySiteResponse.GetNamePlateInfoBySiteResult[\"diffgr:diffgram\"].DocumentElement.Data.CHARGEPERSYSTEM2)\nglobal.set(\"CHARGEPERSYSTEM3\",msg.payload[\"soap:Envelope\"][\"soap:Body\"].GetNamePlateInfoBySiteResponse.GetNamePlateInfoBySiteResult[\"diffgr:diffgram\"].DocumentElement.Data.CHARGEPERSYSTEM3)\nglobal.set(\"CHARGEPERSYSTEM4\",msg.payload[\"soap:Envelope\"][\"soap:Body\"].GetNamePlateInfoBySiteResponse.GetNamePlateInfoBySiteResult[\"diffgr:diffgram\"].DocumentElement.Data.CHARGEPERSYSTEM4)\nglobal.set(\"CHARGEPERSYSTEM5\",msg.payload[\"soap:Envelope\"][\"soap:Body\"].GetNamePlateInfoBySiteResponse.GetNamePlateInfoBySiteResult[\"diffgr:diffgram\"].DocumentElement.Data.CHARGEPERSYSTEM5)\nglobal.set(\"CHARGEPERSYSTEM6\",msg.payload[\"soap:Envelope\"][\"soap:Body\"].GetNamePlateInfoBySiteResponse.GetNamePlateInfoBySiteResult[\"diffgr:diffgram\"].DocumentElement.Data.CHARGEPERSYSTEM6)\nglobal.set(\"CHARGEPERSYSTEM7\",msg.payload[\"soap:Envelope\"][\"soap:Body\"].GetNamePlateInfoBySiteResponse.GetNamePlateInfoBySiteResult[\"diffgr:diffgram\"].DocumentElement.Data.CHARGEPERSYSTEM7)\nglobal.set(\"CHARGEPERSYSTEM8\",msg.payload[\"soap:Envelope\"][\"soap:Body\"].GetNamePlateInfoBySiteResponse.GetNamePlateInfoBySiteResult[\"diffgr:diffgram\"].DocumentElement.Data.CHARGEPERSYSTEM8)\n\n\nmsg.CHARGEPERSYSTEM1 = global.get(\"CHARGEPERSYSTEM1\");\nmsg.CHARGEPERSYSTEM2 = global.get(\"CHARGEPERSYSTEM2\");\nmsg.CHARGEPERSYSTEM3 = global.get(\"CHARGEPERSYSTEM3\");\nmsg.CHARGEPERSYSTEM4 = global.get(\"CHARGEPERSYSTEM4\");\nmsg.CHARGEPERSYSTEM5 = global.get(\"CHARGEPERSYSTEM5\");\nmsg.CHARGEPERSYSTEM6 = global.get(\"CHARGEPERSYSTEM6\");\nmsg.CHARGEPERSYSTEM7 = global.get(\"CHARGEPERSYSTEM7\");\nmsg.CHARGEPERSYSTEM8 = global.get(\"CHARGEPERSYSTEM8\");\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":790,"y":40,"wires":[[]]},{"id":"aae2126f.4fe7f","type":"debug","z":"e6693df7.a3cfa","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":490,"y":240,"wires":[]},{"id":"2259213f.81dade","type":"debug","z":"e6693df7.a3cfa","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":80,"y":300,"wires":[]},{"id":"9a6a4156.4097f","type":"debug","z":"e6693df7.a3cfa","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":70,"y":100,"wires":[]},{"id":"18e4e521.874d8b","type":"debug","z":"e6693df7.a3cfa","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":490,"y":160,"wires":[]},{"id":"de556cb9.d8bda","type":"debug","z":"e6693df7.a3cfa","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":530,"y":120,"wires":[]},{"id":"7cef1789.59d0b8","type":"function","z":"e6693df7.a3cfa","name":"","func":"msg = msg.payload[20]\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":310,"y":300,"wires":[["aae2126f.4fe7f"]]},{"id":"4264d3c1.ded4fc","type":"modbus-client","z":"","name":"PLC","clienttype":"tcp","bufferCommands":true,"stateLogEnabled":false,"queueLogEnabled":false,"tcpHost":"10.3.40.30","tcpPort":"502","tcpType":"DEFAULT","serialPort":"/dev/ttyUSB","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"8","serialStopbits":"1","serialParity":"none","serialConnectionDelay":"100","unit_id":1,"commandDelay":1,"clientTimeout":1000,"reconnectOnTimeout":true,"reconnectTimeout":2000,"parallelUnitIdsAllowed":true}]