Questions tagged [remote-debugging]

Remote debugging is the process of running a debug session in a local development environment attached to a remotely deployed application.

While developing applications, developers often need to run the applications on other machines than their development machine. Reasons could be many: big environment setup to run the application (server grade), running on different OSes, preventing the development machine from any damage, actual run on production-like environment and so on,

A remote debugger is installed on remote machine, which is then connected to development machine. Remote debugger allows debugging in debugger just like local process debugging.

For debugging, the developer builds the executable (and dependent modules) locally, copies them (manually or with script) to remote machine, and then begins debugging.

2628 questions
51
votes
4 answers

Safari Web Inspector network throttling

I'm currently remote-debugging a website on my iPhone using Safari v8 and need to simulate different network speeds. The Chrome Developer Tools have the functionality to throttle the network connection (simulate 3G, wifi etc.) or even to completely…
Matt
  • 3,820
  • 16
  • 50
  • 73
51
votes
5 answers

Run local python script on remote server

I'm debugging some python script that must run on my virtual machine. And, I prefer to edit the scripts locally(outside of virtual machines). So I find it's tedious to scp modified scripts to virtual machines every time. Can anyone suggests some…
qweruiop
  • 3,156
  • 6
  • 31
  • 55
50
votes
25 answers

How to disable Remote JS Debugging in React-Native

I realize that the normal way to disable debugging is by going to the developer menu. The problem is that since I turned on debugging for my app I am testing (React Native & Android emulator) I have been getting a white screen when the app loads…
Gotts
  • 2,274
  • 3
  • 23
  • 32
50
votes
7 answers

How to set up ADB for remote machine development and local device deployment

My scenario is this: I telework from home and log into my work machine via Windows Remote Desktop. I use Eclipse as my development environment for Android apps on my work computer. Using ADB, I would like to be able to deploy apps from my work…
Sean Barbeau
  • 11,496
  • 8
  • 58
  • 111
49
votes
9 answers

Debug JavaScript in Eclipse

How can I debug JavaScript in Eclipse. I am using Eclipse 3.2.1. Everytime I click on the side it gives the option for adding bookmark but no break point. Could anyone assist me on this?
sreeprasad
47
votes
4 answers

Charles - How to filter the recording using the "client address" field?

I am debugging on my computer by means of adding its IP as the proxy in my iPad. I just need to see the traffic coming from iPad and not the computer. The IP of the iPad is mentioned in the "client address" field of the Overview section. How do I…
Anton Unt
  • 1,835
  • 1
  • 21
  • 47
46
votes
1 answer

Is it possible to remote debug a VirtualBox with visual studio?

I'm running different versions of our application on Sun's open source VirtualBox, is it possible to remote debug the app from the host OS with Visual Studio? The problem is that in Visual Studio when I want to attach to a remote machine I have to…
Motti
  • 110,860
  • 49
  • 189
  • 262
37
votes
8 answers

How to monitor HTTP (get, post etc) requests that my app is making in android

In my own app, I'm using various 3rd party SDKs that make network calls( HTTP requests) in some form or other. Without editing this code, can I write code separately within the application to intercept all GET and POST requests that my app is…
atmaish
  • 2,495
  • 3
  • 22
  • 25
37
votes
5 answers

Debugging android device over the Internet

I am looking for a way to debug a device remotely over the Internet. I am getting a lot of bug reports from my users which I can't even reproduce. It would be easy to solve them if I could debug the device over the Internet as if it were connected…
glodos
  • 1,203
  • 3
  • 13
  • 21
35
votes
8 answers

Eclipse : Failed to connect to remote VM. Connection refused.

When ever i tried to launch my eclipse debug(for server side code) i'm getting the following error Failed to connect to remote VM. Connection refused. What's the problem may be? I already tried with most of the solutions out in the web but none of…
Miko
  • 2,615
  • 9
  • 33
  • 58
35
votes
5 answers

How to debug an application running in Docker with IntelliJ?

I have a Jetty application running in docker. I would like to debug this application using my local IntelliJ. I am on v 14.1, so I have installed the Docker Integration plugin. Under Clouds, I am using the default values that showed up when I click…
Somaiah Kumbera
  • 7,063
  • 4
  • 43
  • 44
33
votes
1 answer

eclipse remote debug timeout problem

When I try to connect to remote server (jboss) that is on my local machine all works perfectly, but if I try to connect to remote machine (to jboss again) eclipse starts connecting and after some time tells me Failed to connect to remote VM.…
michael nesterenko
  • 14,222
  • 25
  • 114
  • 182
33
votes
6 answers

Linux .NET remote debugging from Visual Studio

I would like to remote debug a C# console application running on Linux from Visual Studio. Here's what I found so far: http://www.mono-project.com/Debugger The Mono runtime implements a debugging interface that allows debuggers and IDEs to debug…
Anlo
  • 3,228
  • 4
  • 26
  • 33
32
votes
6 answers

Remote Debugging in Visual Studio (VS2008), Windows Forms Application

I'm trying to Remote Debugging a Windows Forms Application (C#), but i'm always getting this error: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'XXX. The Visual Studio Remote Debugger on the target computer…
Baget
  • 3,318
  • 1
  • 24
  • 44
32
votes
12 answers

Could not open Selected VM debug port (8700)

I am trying to debug the android source using Eclipse by following the instructions found at: http://source.android.com/using-eclipse I have downloaded the source, and gotten it to build. I follow the directions in the link above and everything is…
John Gaby
  • 1,500
  • 3
  • 19
  • 33