Wednesday, July 16, 2008

Debug javascript inside VS2005

writing JavaScript functions in the is not an easy task specially lacking the debugging feature in VS2005 (VS2008 has this build in). However, there is an easy way to enable debugging feature in the VS2005.

1. uncheck the "disabling scripting debug" in the IE internet option.
2. add "debugger;" in the script block to enable javascript debugging.

for more detail, click here

No comments: