remote-debugging

Is it possible to enable port in JSVC for remote debugging?

我的未来我决定 提交于 2019-12-04 09:54:48
I am running a jsvc application which is working absolutely fine but now I need to enable one port on my application so that I can do remote debugging. I am performing above task using java. Is there any way to achieve above task ? I have checked all JSVC option http://commons.apache.org/proper/commons-daemon/jsvc.html but didn't find anything. Here is the code of adding jsvc parameter : private List getJSVCArgs(){ List jsvcArgs = new ArrayList(); jsvcArgs.add(jsvcDir+"/jsvc"); jsvcArgs.add("-pidfile"); jsvcArgs.add("pidfile.pid"); jsvcArgs.add("-outfile"); jsvcArgs.add("outfile.txt");

winpdb not working with python 3.3

不羁的心 提交于 2019-12-04 09:03:29
I can't get rpdb2 to run with python 3.3, while that should be possible according to several sources. $ rpdb2 -d myscript.py A password should be set to secure debugger client-server communication. Please type a password:x Password has been set. Traceback (most recent call last): File "/usr/local/bin/rpdb2", line 31, in <module> rpdb2.main() File "/usr/local/lib/python3.3/dist-packages/rpdb2.py", line 14470, in main StartServer(_rpdb2_args, fchdir, _rpdb2_pwd, fAllowUnencrypted, fAllowRemote, secret) File "/usr/local/lib/python3.3/dist-packages/rpdb2.py", line 14212, in StartServer g_module

How to connect to iPhone's webkit debugger?

只愿长相守 提交于 2019-12-04 08:35:12
new iOS 6 feature is, that you can debug html and javascript running on device or simulator in desktop safari. I suppose, that this feature is based on Webkit Remote Debugging Protocol . How can I connect to webkit running on iPhone without desktop Safari? I can do this for mobile Chrome running on Android using websockets, but how can I do that for iOS devices? The ios-webkit-debug-proxy project (from Google!) does this. You want to look at this code https://github.com/leftlogic/remote-debug/tree/master/safari - although it fails when it actually comes to RPC calls that use __rpc

Remote debugging Internjs that runs on selenium chromedriver

血红的双手。 提交于 2019-12-04 07:44:39
I try to remotely debug tests run by Internjs. Basically it is a Chrome that is run by Selenium and Chromedriver. I set up Chromedriver debuggerAddress option as debuggerAddress: '127.0.0.1:8765' Now when I run tests Selenium waits some time and than fails with message: FATAL ERROR UnknownError: [POST http://localhost:4444/wd/hub/session / {"desiredCapabilities":{"browserName":"chrome","name":"tests/intern_local","idle-timeout":60,"selenium-version":"2.44.0","chromeOptions":{"debuggerAddress":"127.0.0.1:8765"}}}] unknown error: cannot connect to chrome at 127.0.0.1:8765 from chrome not

Unable to install Windows Web Services API for Remote Debugging with VS2012

我与影子孤独终老i 提交于 2019-12-04 05:55:53
I'm trying to remote debug using visual studio 2012 and windows server 2008 not R2. I recieve the following error when setting up the remote debugger. Has anyone else been able to install 2012 remote debugger on Windows server 2008 that is not R2? This is the full error message after I hit configure remote debugging. According to VS 2012 system requirements remote debugging is not supported on Windows Server 2008. At this MS forum post Brad Sullivan the Program Manager for Visual Studio Debugger has posted the following: There is a known issue in the installer for Remote Tools for Visual

write to IIS log from an ASP.NET application

非 Y 不嫁゛ 提交于 2019-12-04 03:45:04
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. 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. So the Debug.Write is a good way only for test in real time and debug your application and not a solution

Can I use the Visual Studio 2010 remote debugger on Windows XP to debug a .Net 4.0 app from Visual Studio 2012?

风格不统一 提交于 2019-12-04 03:27:56
问题 Can I use the Visual Studio 2010 remote debugger on Windows XP to debug a .Net 4.0 app from Visual Studio 2012? I am trying to, here is a screenshot of my XP machine (I have disabled the local firewall temporarily): Here is Visual Studio 2012 (the text in the remote machine box is identical to the server name indictaed by the Visual Studio remote debugger): When I try to debug, I get this error: If I change the computer name to anything else, I get this error: Is being able to debug .Net 4.0

Unable to start WebLogic remotely to Debug

允我心安 提交于 2019-12-04 03:17:46
问题 I setup my remote WebLogic server to debug, using these options: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=${DEBUG_PORT},server=y,suspend=n -Djava.compiler=NONE" I started WebLogic on the server and saw that it was listening on 8453 for dt_socket. I added the remote server on my local Eclipse and tested the connection. I also see that the server is STARTED and I can view the details. However, I'm unable to restart in DEBUG. I also stopped WebLogic on the server and now in

Breakpoints in WebStorm not hitting for JavaScript debugging

不羁的心 提交于 2019-12-04 02:02:41
I have the following configuration setup in WebStorm: When I click debug, it launches Chrome fine and navigates to the page, but my breakpoints never get hit. It's connected somehow though because I see all of the console.log() output in WebStorm. I'm trying to navigate to the URL specified in the screenshot and have breakpoints in main.js get hit, but it doesn't work as expected (see: at all). I'm not exactly sure what I'm missing. I've tried setting a remote URL for the specific main.js file in the Remote URLs section, but that didn't help either. For reference I run the application via bra

Eclipse Remote debugging with jboss

妖精的绣舞 提交于 2019-12-04 02:01:58
How can I configure remote debugging in Eclipse with JBOSS server 4.x version? So far, Step1 : I have modified the run.confg file. By uncommenting the below line. Sample JPDA settings for remote socket debugging: JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" Step2 : Then I configured Eclipse in debug configurations. It's saying: Failed to connect to remote VM. Connection refused. What you are asking is not specific to either Java EE or JBoss 4.x - you can debug any Java process in case you specified the remote debugging runtime parameters when starting