script-debugging

How Do I Shut Off Visual Studio 2008 Script Debugging

If I launch an ASP.NET project, using Visual Studio 2008 and Internet Explorer, Visual Studio starts script debugging. I get a Script Documents node with a child node of Windows Internet Explorer and Default.aspx with a bazillion anonymous code nodes underneath. I'm having difficulty shutting this off, other than telling VS to launch t...

Google Chrome Javascript Debugger and Content Scripts

This question has been asked similarly before (http://stackoverflow.com/questions/66420/how-do-you-launch-the-javascript-debugger-in-google-chrome), but I can't seem to debug Javascript in Google Chrome. If I go to Page > Developer the "Debug Javascript" (Ctrl+Shift+L) is disabled. Alt + ` doesn't work. I'm developing a 'content scrip...

Debug PHP scripts using Eclipse

I've been using Eclipse 3.4.2 with PHPEclipse and Zend Debugger for some time without issue. Suddenly, I cannot debug the PHP scripts. I can run them fine but when I select Debug As... the script shows in the Debug window as if it were running, but it is not. If I click pause it reports as being on line 0. I can step through it, if I ...

How do I check if the python debug option is set from within a script

If I'm in debug mode, I want to do other stuff than when I'm not. if DEBUG: STORED_DATA_FILE = os.path.join(TEMP_DIR, 'store.dat') LOG_LEVEL = logging.DEBUG print "debug mode" else: STORED_DATA_FILE = os.path.join(SCRIPT_PATH, 'store.dat') LOG_LEVEL = logging.INFO print "not debug mode" then: python script.py ...

Microsoft Script Debugger does not display any information after error

I'm trying to debug a Javascript error which only occurs in Internet Explorer. I have Microsoft Script Debugger installed, and have used it successfully in the past. On this error, though, I select "Yes" to do-you-want-to-debug?, and it opens up Script Debugger, which displays nothing. Running documents window is empty, call stack is ...

Korn Shell - Set "-x" (debug) flag globally?

Is there a way to set the debug mode(set -x) on a KornShell script globally? Currently it seems I have do something like the following: a(){ set -x #commands } b(){ set -x #more commands } set-x a #commands b I would really like to only have to call the set-x command in one place. Note: This is all in KSH88 on AIX. E...

How to substitute a content of certain javascript reference with local script for debugging?

I need to debug jasvascript loaded by page. Loaded page are not locally placed. Loaded js is packed. I want to substitute it with unpacked version. Is there any tricks or browser options to make it? ...

Using debug versions of YUI2 components in YUI3

I am using YUI 2 components in YUI3 using the standard way YAHOO has provided to get accesss to the YAHOO namespace. However when YUI3 loads the yui2 components it loads teh min version which is no good for debugging. I'm having problems with the editor rendering and was hoping to try to use the code to debug. Is there a way I can f...

Debugging Python within Ableton Live

How can I see script errors for my python MIDI Remote Scripts in Ableton Live? I've seen references online to a hidden Python console, but no documentation on how to open it, if it would even help me! Currently I type code, reload the script, and see what happens. If nothing happens, then something is wrong. Very tedious... Edit: I ...