question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve amp-bind debuggability

See original GitHub issue
  • Report syntax/expression errors through error.js#reportError.
  • Add fine-level logging for state and component updates, etc.
  • Output warning for undefined variables, improve error message specificity

Related to #6199.

/cc @kul3r4

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
cramforcecommented, Feb 22, 2017

Would be great to have a way to dump the global state in the console. We could then later wrap it in a Chrome DevTools Extension.

0reactions
kul3r4commented, Feb 28, 2017

I understand I can use [text] bindings but this requires to redeploy a new version of the page just for debugging. Interested in a way of dumping the global state in the console and use it in a Chrome DevTools Extension

Read more comments on GitHub >

github_iconTop Results From Across the Web

amp-bind: Documentation for debugging and error types #8549
amp-bind : Documentation for debugging and error types #8549. Closed ... Improve amp-bind documentation #8542. Merged. @dreamofabear ...
Read more >
Documentation: <amp-bind> - amp.dev
Allows elements to mutate in response to user actions or data changes via data binding and simple JS-like expressions.
Read more >
amp html - printState is not working - Stack Overflow
AMP.printState() currently works from the console. However, you need to add #development=1 to the URL and reload the page for it to take ......
Read more >
AMP: Hope and Fears (Part 1) – The Publishing Project
AMP proposes a solution now and, to be honest, I can't think of a better. ... Until better debugging tooling is available it's...
Read more >
AMP ⚡️ More Than Just Mobile Pages - WebDevStudios
... explains how AMP can give your WordPress website a boost. ... about four years ago as a way to improve mobile performance...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found