I am very new to Dart, so I am unsure if I am doing something wrong or not, but the debugging of a Dart application does not always seem to work.
I am trying to follow along with the "Alvast, Ye Pirates" tutorial.
I have my index.html and my main.dart files.
<link rel="stylesheet" href="piratebadge.css">
<input type="text" id="inputName" maxlength="15">
Arrr! Me name is
<span id="badgeName"> </span>
<script type="application/dart" src="main.dart"></script>
querySelector( '#inputName' ).onInput.listen( updateBadge );
void updateBadge(Event e )
querySelector( '#badgeName' ).text = (e.target as InputElement).value;
When I click on the 'Dartium' icon that shows on the right side if I view the index.html file, the application works. If I type something in the input, the badgeName gets updated.
However, when I try to debug, it does not.
Any idea what might be wrong?
PS: I am using IntelliJ 13.1.4