I want to be able to break on postmessage in Chrome Developer Tools, but it appears there's no such option:
Is it possible to conveniently break on postmessage without specifically searching the line in source code?
Edit: Someone suggested the question is a duplicate of this post: Any good debugger for HTML5 Javascript postMessage API?
The answer features Firebug extension, however, Firebug is no longer available (https://blog.getfirebug.com/)
If you are using the Browser's console, you can run debug(window.postMessage
there to make the execution stop when the next postMessage call is made.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With