如何在asp.net中调试javascript? [英] How to debug the javascript in asp.net?

查看:145
本文介绍了如何在asp.net中调试javascript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,如何在asp.net中调试javascript?可以将断点应用于javascipt吗?

I want to know ,how to debug javascript in asp.net?Can I apply break point to javascipt?

推荐答案

您可以执行以下操作。


  1. 使用.Net IDE使用调试器关键字。在您的页面上的javascript。
    这样的东西。

  2. 使用F12开发者工具IE浏览器。

  3. 在Firefox中使用 FireBug

  4. 使用Control - Shift - J打开开发人员工具,并将焦点放在控制台上。对于Google Chrome。

  1. Use debugger keyword with .Net IDE. In your javascript on your page. something like this.
  2. Use F12 Developer tool with IE browser.
  3. Use FireBug with Firefox.
  4. Use Control - Shift - J to open Developer Tools and bring focus to the Console. for Google Chrome.

这篇关于如何在asp.net中调试javascript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆