print statements in dart-polymer UI not seen in webstorm console -
i have print statements in dart ui app. depending on ui selection strings printed console. used work expected with dart eclipse plugin. cannot see print output console in dart-polymer app.
any possible appreciated.
edit 1
.dart
import 'dart:html'; import 'package:paper_elements/paper_input.dart'; import 'package:polymer/polymer.dart'; /// polymer `<main-app>` element. @customtag('main-app') class mainapp extends polymerelement { @observable string reversed = ''; /// constructor used create instance of mainapp. mainapp.created() : super.created(); void reversetext(event event, object object, paperinput target) { reversed = target.value.split('').reversed.join(''); print(reversed); // nothing shown in console }
.html
<!-- import polymer-element's definition --> <link rel="import" href="../../packages/polymer/polymer.html"> <link rel="import" href="../../packages/paper_elements/paper_input.html"> <polymer-element name="main-app"> <template> <style> :host { display: block; } </style> <paper-input label="type something..." on-keyup="{{reversetext}}"></paper-input> <p> reversed: {{ reversed }} </p> </template> <script type="application/dart" src="main_app.dart"></script> </polymer-element>
the print statement in main_app.dart not print visible console.
ensure have intellij debug plugin installed in dartium.
Comments
Post a Comment