How do you console log inside a knockout template : <p>I thought this was correct:</p>

<pre><code>            &lt;div data-bind="foreach: amount_options, visible: $parent.displayAskAmoutRadioButtons()"&gt;
                &lt;!-- ko console.log(amount_option) --&gt;&lt;!-- /ko --&gt;
                &lt;label class="donor-js-amount-choice"&gt;
                    &lt;!-- &lt;input type="radio" class="donor-js-webware" name="gift_amt" data-bind="attr: {value: key}, checked: $parent.amountSelected"&gt;&lt;span class="donor-js-currency-symbol" data-bind="html: $root.session.currencySymbol"&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="donor-js-input-currency" data-bind="text: desc"&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="donor-js-input-currency"&gt;&lt;/span&gt;&lt;br&gt; --&gt;
                &lt;/label&gt;
            &lt;/div&gt;
</code></pre>

<p>apparently not as nothing gets out put to the console. The commented out line of tag is throwing an error about the <code>value: key</code> and I need to know whats inside of one of these <code>amount_options</code>.</p>

<p><strong>Ideas?</strong></p>
