debugging Polymer 0.5的主要網站上的信息已過時,並且不適用於聚合物1.0。如何調試Polymer project 1.x?
我想看到一些日誌,讓我做什麼:
<script>
window.Platform = {flags: {debug: true, log: 'bind,ready'}};
</script>
<script src="/node_modules/webcomponents.js/webcomponents.js" debug></script>
<link rel="import" href="...">
進口內部:
<link rel="import" href="./bower_components/polymer/polymer.html">
<dom-module id="my-custom-element">...</dom-module>
點擊的網址:http://localhost:8080/index.html?debug&log=bind,ready,events
。
最後我在控制檯上看不到任何日誌。
什麼是調試聚合物1.0的正確方法?