remote-debugging

PyDev remote debugging not working (connection refused)

半腔热情 提交于 2019-12-06 01:47:14
I'm using Eclipse Luna Service Release 1 (4.4.1) with PyDev 3.9.0.201411111611 for Python 2.7 development, on an ArchLinux (Manjaro) machine. I have an external script to run my application from command line, using the import pydevd; pydevd.settrace() template as described in the docs for remote debugging. The full script is as follows: #!/usr/bin/python2 import sys sys.path.append('/home/manu343726/Documentos/myapp/') sys.path.append('/home/manu343726/.eclipse/org.eclipse.platform_4.4.1_1543616141_linux_gtk_x86_64/plugins/org.python.pydev_3.9.0.201411111611/pysrc/') from mymodule import main

write to IIS log from an ASP.NET application

久未见 提交于 2019-12-05 22:14:14
问题 I want to have my ASP.NET application write lines to a log somewhere. Does IIS provide any built-in way to log ASP.NET log messages? I was thinking there might be a way to capture calls to System.Diagnostics.Debug.WriteLine(), but I can't find any way to do it. 回答1: To capture the Debug.Write and Debug.WriteLine use the DebugView from sysinternals. http://technet.microsoft.com/en-us/sysinternals/bb896647 Of course you have to compile with Debug=true or else the functions is not called at all.

How to do remote debugging with Browser-sync?

不羁岁月 提交于 2019-12-05 20:54:21
问题 I have installed browser sync with npm. On their website, they have mentioned that it also allows remote debugging. But they have not mentioned that how to do remote debugging. I have used below command to run mysite on browser-sync. browser-sync start --proxy localhost:8080/mysite how can I remote debug that? 回答1: Though this was quite a tricky process in versions before Browser-sync 2.0, but with Browser-sync 2.0 you now have a brand new Web UI, which makes this process a whole lot easier.

Azure Remote Debugging: Failed to enable remote debuggingException from HRESULT: 0x89710023

痞子三分冷 提交于 2019-12-05 20:13:32
I'm getting a strange error: ' Failed to enable remote debuggingException from HRESULT: 0x89710023 ' while I'm trying to debug remotely Azure Website. I'm using VS2013 with Azure Tools v.2.2. There are a lot of people who are getting this error here http://blogs.msdn.com/b/webdev/archive/2013/11/05/remote-debugging-a-window-azure-web-site-with-visual-studio-2013.aspx but there is no working solution. Resolved I've managed to resolve this as installed Azure Tools 2.2 on a new machine with fresh installed VS 2013. Not sure what caused the issue. The error isn't very forthright. I found the

Visual Studio Remote Debugging Extensibility

这一生的挚爱 提交于 2019-12-05 19:56:22
I'm trying to attach to a remote machine with code similar to the following: Debugger2 db (Debugger2)dte.Debugger; Transport trans = db.Transports.Item("Default"); Process2 proc2 = (Process2)db.GetProcesses(trans, "MACHINENAME").Item("SERVICENAME"); proc2.Attach2(); I've gotten it to work by logging on through remote desktop and manually starting the debugger, but I have to stay logged in. The problem is, I don't want to stay logged into the remote machine. Is there a way to automatically launch the debugger, similar to what happens when I attach through the IDE? You could wrap your debugging

Qt Creator stdin for command line with Deploy to Remote Linux Host

天涯浪子 提交于 2019-12-05 18:45:14
I am using the Remote Deploy feature of Qt Creator to launch my simple command line application on an embedded Linux target board. My test application is extremely simple and asks the user to print his/her name. It crosscompiles, transfers to the board, and launches and the 'Application Output' window near the bottom of Qt Creator shows the 'Type your name:' prompt, but I cannot type anywhere and provide stdin to the application running remotely through Qt Creator. How can I accomplish this within Qt Creator? Can I somehow manipulate the deploy 'arguments' to connect a device to provide stdin

Safari webinspector show blank window at remote debugging (iOS6 + iOS7)

流过昼夜 提交于 2019-12-05 18:36:25
问题 Testing my webpages with an iPad, I ran into an design error that only occurs on iOS devices. So I tried using the remote debugging feature that is available since iOS6. Macbook Pro: early '11, OSX Lion (10.7.5), Safari up-to-date (6.1.3) iPad 3: iOS 7.0.4 vanilla iPhone 4s: iOS 7.0.4 + jailbreak and iOS-Simulator (iOS 6) by Xcode. It doesnt matter what device I use and what site i try to inspect, the remote webinspector is blank all the time. See the attached screenshot (running OSX in

unable to set web inspector breakpoints after upgrade to Safari 7.0.4, both local and remote

二次信任 提交于 2019-12-05 14:44:41
After an upgrade to OSX 10.9.3 (13D65) and Safari 7.0.4 (9537.76.4), I am unable to set breakpoints in my cordova app using the Safari web inspector. Enabled breakpoints appear as dark grey, disabled as a lighter grey. "debugger" statements are ignored. The behavior is the same on either the simulator (iOS 7.1 11D167) or a physical device (iOS 7.1.1 11D201). The mobile app does show up under the Develop menu (iPad Simulator or xxx iPad). I can inspect the DOM. I tried the solutions suggested in this problem: Why is Web Inspector showing me "no inspectable applications"? , and this Why Safari

ASP.NET / IIS Remote Debugging - DEBUG verb

血红的双手。 提交于 2019-12-05 14:20:16
I'm looking for details on the DEBUG HTTP verb. It's clear to me that this is used for remote debugging - though I'm not even sure if it's for IIS or ASP.NET... If I want to access this interface directly - i.e. not through Visual Studio, but sending these commands manually - what do I need to know? What are the commands for it? I'm also interested in misuse cases, if you have any information on that... AviD Just for completeness, consolidating here the answers from what-is-the-non-standard-http-verb-debug-used-for-in-asp-net-iis : (thanks @Mark, @Jørn). http://support.microsoft.com/kb/937523

How to debug Groovy code via the remote Java application debugging in Eclipse

随声附和 提交于 2019-12-05 14:07:41
I'm struggling to debug an application that builds as a Sling bundle. The application is almost entirely Groovy code (I have the Groovy Eclipse plug-in), and Eclipse (using Maven) is building the .jar and installing it in Sling without any problems. However, it's not able to debug. I have followed instructions to set up remote debugging, which I gather is necessary for debugging Sling apps - specifically, I launch Sling with the following command: java -Xdebug -Xnoagent -Djava.io.tmpdir=/c/Users/nickgolding1/temp -Xmx1024m -Xrunjdwp:transport=dt_socket,address=30303,server=y,suspend=n -jar org