debug postMessage