Questions tagged [remote-debugging]

1

votes
3

answer
1.7k

Views

Java remote debugging, eclipse can't stay connected

I have an issue when I try to remote debug via eclipse. These are the arguments I use: -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4044 I also tried setting the address to 0.0.0.0:4044, using this: -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4044 I have tried a...
marko
1

votes
2

answer
1.5k

Views

Remote Debugging with JPDA won't connect to Tomcat through eclipse when using Docker-Compose

I'm very new to Docker so this could be something simple I'm doing wrong. With all the solutions out there I've been able to get remote debugging working with eclipse when using 'Docker run' to launch the Tomcat container. docker run -it --rm -e JPDA_ADDRESS=8000 -e JPDA_TRANSPORT=dt_socket -p 8888:...
Olmstov
1

votes
1

answer
290

Views

inspecting cordova android app per usb with chrome devtools results in blank screen

Debugging a Cordova webview running in Chrome on Android (Pixel / Android 8.1) via the USB connection in Chrome desktop browser (65.0.3319.0 (Offizieller Build) canary (64-Bit)) is not working. Attempting to inspect web pages running on the mobile device results in a blank page. When I inspect the b...
Helmut Heiß
1

votes
0

answer
393

Views

Debugging Makefile project of Linux Development with C++

I can debug Console Application project of Linux Development with C++, but CANNOT debug Makefile project. The breakpoint is NOT hit. My system is as in the following Window 10 home Visual Studio Community 2015 update 3 Visual C++ for Linux Development 1.0.7 VirtualBox 5.1.30 r118389 (Qt5.6.2) - Cen...
blank_popup
1

votes
0

answer
179

Views

SIGILL occurs when using remote debbuging on arm target even if handle SIGILL nostop is set

I'm trying to remote debug a c++ app from a windows host to a debian armbian target of cubietruck board (ARM® Cortex™-A7 Dual-Core). However the debbuger breaks while receiving SIGILL. I've searched and found the reason. It is described in this post SSL_library_init cause SIGILL when running unde...
dk13
1

votes
0

answer
61

Views

How to specifiy MonoRemoteDebugger application folder?

I'm using MonoRemoteDebugger to develop an app remotely in C#/Mono from Visual Studio 2017 on a Raspberry Pi/Raspbian. I've noticed that the app is placed inside a Temp folder, in MonoRemoteDebuggerServer folder. I was wondering if it's possible to configure MonoRemoteDebugger to place the app in a...
Cristian M
1

votes
1

answer
1.3k

Views

remote debug visual studio linux

I'm currently stuck at one point trying to remote debug with my raspberry pi. I have Visual studio 2017 installed. I created a linux console Project and connected VS17 to the raspberry via ssh successfully. Now I wanted to Code a simple Input Output program in c++ just to test the functionality. Whi...
nikhilr
1

votes
1

answer
573

Views

debugging remote websphere application from eclipse

I've configured my server to run with the following flags: Server--> Server Types --> WebSphere application servers --> Additional Properties --> Debugging Service: JVM Debug Arguments= -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888 JVM Port= 8888 I configured eclip...
alex
1

votes
0

answer
24

Views

How Can I Attach a Remote Debugger to a .Net 4.5 WCF Service without Blocking Other Incoming Requests?

I'd like to attach a debugger to a WCF service without interrupting incoming requests which are not the one I intend to debug. I thought I could use a conditional break point to only break on specific conditions in the request coming from my machine. I used SoapUI to send the request with the specif...
JohnH
1

votes
0

answer
55

Views

Debugging Externally Launched Code in Wing IDE

I've been trying to find a solution for this but no luck so far. I'm trying to debug an externally launched code in WingIDE with the following code: import wingdbstub wingdbstub.Ensure() And I received an exception during the debug: ValueError: No debugger Hovering on the red colour bug reads the fo...
navy_marble
1

votes
1

answer
90

Views

Chrome remote debugging Basic Authentication

How can I do a basic authentication via chrome remote debugging? That is I have a chrome running in remote debug like this chrome.exe –remote-debugging-port=9222 then I use WebSocket4Net to comunicate with chrome. I would like to automate the basic authentication, by passing user and password in t...
ayasha
1

votes
0

answer
215

Views

Debugging kernel using kgdb/gdb on arm target?

I got vmlinux.uimg and vmlinux from my friend. The vmlinux is build with Linux version 4.14.10. I have two machines: target (arm 32 bit architecture) and host (x86 architecture) Both systems are connected with wire, port numbers are /dev/ttySAC3 and /dev/ttyUSB0 respectively. Target boot up by readi...
Aparna Kumari
1

votes
0

answer
218

Views

Remote debug not working. Nothing happens while attaching to process

I have a .NET Core project in Visual Studio 2017 on a Windows 10 computer, and I publish this project as a runtime 'linux-arm' to a Linux server on the same local network. When I run the program on Linux it works and all. When I open 'Attach to process' in VS and find the process over SSH as root u...
user3501602
1

votes
1

answer
556

Views

How to inspect network requests and responses happened in Android System WebView remotely?

Recently I have a problem in inspecting network requests and responses happened in Android System WebView. The problem is that our app sometimes failed to load some urls with Android System WebView, but we can not get enough information to trace these cases. Tools like Fiddler or Charles have some l...
javayhu
1

votes
0

answer
150

Views

How to Debug Python in PyCharm for Buildin CGI Server

I run python3.6 build in CGI server on my computer(windows 7 64bit) with this command: python -m http.server --cgi and I put a index.py file in ./cgi-bin/ directory. it work well when I visit http://127.0.0.1:8000/cgi-bin/index.py on my browser. and then I want to debug this index.py in PyCharm, but...
GoTop
1

votes
0

answer
62

Views

When Remote Debug Buildin CGI Server on PyCharm, Python Script Doesn't Stop at Breakpoint

My environment: Windows7 64bit, Python 3.6.4 64bit, PyCharm 5.0.4, the version of pydevd I install was 1.1.1 I config Python Remote Debug on PyCharm, using port 8001, and add this code to my cgi-bin/index.py: import pydevd pydevd.settrace('127.0.0.1', port=8001) then I visit http://127.0.0.1:8000/cg...
GoTop
1

votes
2

answer
2.6k

Views

Connecting Eclipse to Docker Container for Remote Debugging

I'm trying to connect eclipse to a docker container I have running but I am having trouble. My docker run command is as follows: docker run --rm -it -p 8000:8000 -p=8668:8080 -p 8010:8009 -p 8443:8443 \ --name myContainer -h theContainer -e JVM_ROUTE=myContainer1 myContainer:qa In eclipse, I'm conne...
aCarella
1

votes
1

answer
317

Views

How to remote debug a windows services with Delphi 10.2

I am familiar with debugging windows services written in Delphi by using the Attach Process feature. This works very well if the service runs on the same server as the Delphi IDE. But when it comes to remote debug the service (i.e. it is running on a remote server) it no longer works: the Attach Pro...
AlainB
1

votes
0

answer
22

Views

Cannot remotely debug java project by using DDMS or Monitor in Sdk on android >=5 (API Level >= 21)

There is a java project which was compiled to sample.jar as debug version, converted to sample.dex by using dx, pushed to Android emulator(Android 5.1.1), and run on the device. This project was developed to boot specific App on Android device and test the App. The sample.dex is indeed successfully...
Tool Ply
1

votes
0

answer
43

Views

Testng eclipse remote debugging?

I am able to debug testng when the code is in my local box and I build it on my localhost box with the simulator. I am trying to see if there is any way I can debug testng by adding debug points in eclipse giving a remote build . (Eg: like remote java application debug).
user2868864
1

votes
1

answer
1.2k

Views

Can't inspect android app on chrome remote debug

I was trying to use Stetho to debug my application and followed the steps here https://developers.google.com/web/tools/chrome-devtools/remote-debugging to enable chrome remote debug, but I can't inspect my app. The device is recognized, but no inspect link: What I have done: Enabled USB debug on my...
Erik
1

votes
0

answer
88

Views

Chrome Remote Interface Error: Unknown command: protocol

I was trying to use chrome-remote-interface sample in windows, but unable to produce the result with an error Error: Unknown command: protocol at IncomingMessage. (..\node_modules\chrome-remote-interface\lib\external-request.js:29:30) at emitNone (events.js:110:20) at IncomingMessage.emit (events.js...
thebasah
1

votes
0

answer
144

Views

remote debugging in pycharm, debugging a subprocess

Good Day! I have a script which runs on Python3.5, It spawns a subprocess which runs a java application. subprocess.run(['/usr/bin/java','-jar',]) This Java application internally invokes some of my python scripts which runs on Jython2.5. So I want to debug those Jython scripts, I'm enabling remote...
Murali
1

votes
0

answer
249

Views

Pretty-printer is not working when remote debugging an arm board via vs code

I'm trying to remote debug a c++ app from a VM ubuntu 16.04 amd64 host to a debian armbian target of cubietruck board (ARM® Cortex™-A7 Dual-Core) via vs code. I have follwed this guide https://medium.com/@spe_/debugging-c-c-programs-remotely-using-visual-studio-code-and-gdbserver-559d3434fb78 wit...
dk13
1

votes
0

answer
163

Views

Unable to debug app service in azure: MSVSMON does not appear to be running

I am developing a web app bot in azure and I am having trouble remote debugging it using VS 2017. The debugging worked for me before (I used Server explorer > MyResourceGroup > app service > attach debugger), but now all of a sudden it doesn't, showing the following error: I have verified the debugg...
Shalom Aleichem
1

votes
0

answer
405

Views

Heroku remote debugging Rails

I'm trying to set up remote debugging for a Rails app running on Heroku. I'm trying to use RubyMine, but I'm fine with a non-RubyMine solution as well. What I've tried The Heroku integration for RubyMine uses a deprecated version of the Heroku API, so it won't help. I tried running the command sugge...
Nathan Hinchey
1

votes
0

answer
147

Views

Is there any way to debug Django apps running inside vagrant using VS Code?

I've been trying to debug an Open edX instance running inside their devstack using VS Code but the debugger keeps giving me the error. Debug adapter process has terminated unexpectedly Here is my launch.json { 'name': 'Python: Open edX', 'type': 'python', 'request': 'attach', 'localRoot': '${workspa...
asamolion
1

votes
1

answer
42

Views

SQL Server 2014 cannot connect to remote Server

Before I get flagged, I will say that I have tried everything that I could find, but I still cannot connect: I have opened TCP Port (1433), Server is listening on ['any' < ipv4 > 1433]. I have enable the server browser service I have enabled remote connections in my SQL server I have also assigne...
1

votes
0

answer
238

Views

remote server node debug,node --inspect is not hitting the break point in chrome inspect dev tool

my nodejs (node version v10.5.0) server is runnig on 159.65.151.135:3000 I have the ssh tunneling from my local windows machine to server as ssh -L 9229:127.0.0.1:9229 [email protected] -v but node --inspect app.js is not hitting the breakpoint in chrome://inspect Devtool Please help in resolving...
S Rekhu
1

votes
0

answer
145

Views

Can't use breakpoint in Visual Studio Code, with node (+babel) running in a docker container

I can't use breakpoint in my VSCode, breakpoint stay 'grey' with the message : 'Unverified breakpoint'. See this capture : The debugger seems to be 'connected', because I'm receiving logs from my program, and the bar is 'orange'. It's just impossible to use breakpoints. About my configuration, here...
MLKiiwy
1

votes
0

answer
24

Views

Xdebug and PhpStorm fails to debug some parts of a project

I am using Xdebug and PhpStorm for remote debugging my application. However I cannot solve the following problem. When I try to step over while debugging, it stops and shows an error telling Fatal error: Cannot access private properties. However if set a breakpoint further in the code it reaches...
1

votes
1

answer
105

Views

Visual Studio - Customise run action to use DebugAdapterHost.launch

Is it possible in Visual Studio 2017 to change the action performed by the green debug button and the F5 hotkey. Currently I have to publish my .net core console application (using a profile I have created) and then in the command window (View->Other Windows->Command Window) execute 'DebugAdapterHos...
CSNewman
1

votes
0

answer
14

Views

Glassfish remote debug multiple applications simultaneously

I have couple of micro services hosted on Glassfish. And one micro service talks with other using REST. I want to debug these applications from intellij idea. I am able to do this by setting up a Remote debug configuration. I have this in the field Command line arguments for remote JVM -agentlib:...
pvpkiran
1

votes
0

answer
104

Views

How to use PyCharm Remote Deployment to develop multiple packages?

PyCharm Professional has a Remote Deployment feature that allows for editing, running and debugging code remotely. This is a powerful feature when writing short scripts and top-level applications that make use of standard or third-party library packages. You can even create a virtualenv on the remot...
davidA
1

votes
0

answer
33

Views

can I start a remote node process from vscode?

I'm currently debugging a node app in a raspberry pi remotely from vscode in my laptop. It's awesome. I am going to a terminal connected to the raspi and starting the node app, then I'm attaching the vscode debugger. Whenever I change the code I have to go to the terminal, kill the node app, and s...
mark-hahn
1

votes
0

answer
137

Views

Azure remote debugging: No symbols loaded when debugging service deployed to virtual directory

I have a .Net Core Web Api service published on Azure. When it's deployed to the wwwroot folder I can attach the debugger to the hosted instance and debug it fine. However we want our UI deployed to the root and the API deployed to a virtual directory in the same Web App under /api, similar to this...
pcdev
1

votes
0

answer
16

Views

How to make Visual Studio 2017 remote debugger remember user permissions?

If I go to Tools -> Options -> Permissions in the Visual Studio 2017 remote debugger and delete provided default permissions for an administrator and replace it with my own non-interactive user: If I close the remote debugger process and then reopen it, it resets permissions to this: Is there any wa...
c00000fd
1

votes
1

answer
155

Views

How to synchronize code files on windows with WSL/linux?

Nasically I have some C/C++ code that I need to build and debug on a linux machine. Unfortunately, my windows laptop doesn;t have enough free hard space to install some linux dist nor does it have enough free rum to comfortably run VM. Until now, I dealt with it rather comfortably using WSL, but the...
Dan M.
1

votes
0

answer
61

Views

Remote Debugging Eclipse doesn't stop at my break point

I usually never post questions on stackoverflow because I always found answers but in this case I spent a full week trying to get eclipse to debug my remote WAR file but impossible. My war project is just an Hello Word with only one file BackTest.java package alxFinancial.dispatcher; import javax.se...
Alexandre Neveu
1

votes
2

answer
457

Views

Debugging spring-boot app in docker doesn't work

I have a Spring Boot app running in a docker container that's setup using a Dockerfile and then a docker-compose.yml file. I recently added in the Java command -agentlib:jdwp=transport=dt_socket,address=5050,server=y,suspend=n into the Dockerfile to enable debugging. I have exposed the port 5050 and...
Dan

View additional questions