troubleshooting Question

Debug stand alone javascript in Windows 7 (not in browser)

Avatar of thresholds
thresholdsFlag for United States of America asked on
Operating SystemsJScriptWindows 7
11 Comments1 Solution575 ViewsLast Modified:
How can I debug a stand alone javascript file that has nothing to do with a browser or web page in Windows 7?  I have made a script that is supposed to move some files based on the create date.  I need to debug it but I can’t find any way to get a script debugger that will work on a script that is not running in a browser using Windows 7.  I was able to do this in Windows XP but I tried down loading what I thought was the proper debugger from Microsoft’s website - I can’t get it to work with a stand alone javascript file.  I looked in the Office 2010 installation and there doesn’t seem to be a debugger in there.
I tried using “debugger” at the top of the script but it is ignored.
I can’t be the only one in the world who needs to do this.  I have Visual Studio 2005 installed also if that helps but I tried getting it to work in there but it seems to be like every other javascript debugger in the world in that it only works with scripts in web pages.
Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros