开发者

Script debugger not attaching in Razor view

I have the following script block being rendered by a Razor view, but the debugger line is simply ignored, in Chrome; in Firebug it works as expected. The alert is working fine.

<script type="text/javascript">
    function provinceChanged(e) {
        debugger;     
        var url = "/Address/ListCities";
        alert(url);
    }
</script>

Anyone have a suggestion why this is so?开发者_StackOverflow社区


Do you have script debugging enabled in Internet Options? It's worth double-checking.

This has nothing to do with how your page was rendered...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜