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.
2,514
questions
1
vote
1
answer
29
views
Debug python code running in a docker compose on a SSH remote development machine
I run a docker-compose (python) application on a remote machine, which I can access via SSH for remote development with VS Code.
I'm running the docker compose application on a Ubuntu 22.04 LTS ...
0
votes
1
answer
21
views
Dart debug, how to save and load breakpoints?
I'm running dart with this command:
dart run --pause-isolates-on-start --observe --enable-vm-service=8181/0.0.0.0
With this command, can open on browser the dart native user interface to debug on
...
0
votes
1
answer
18
views
Can't connect on Dart debug through virtualbox
I'm on windows, but on my Virtualbox I have one debian server.
I have create a Dart example and run it with:
dart run --pause-isolates-on-start --observe
With this i can connect to:
http://127.0.0.1:...
0
votes
0
answers
23
views
How to debug remote typescript vitest unit test with nvim-dap?
My vite typescript unit test is served by a remote server on the remoteserver domain name using the following command:
node --inspect-brk=0.0.0.0 ./node_modules/vitest/vitest.mjs run --threads false ...
0
votes
0
answers
20
views
Post-Build Event / Task for launch profile?
I am trying to build a remote debugging workflow for an C#/WPF app.
I followed the instructions here https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-csharp?view=vs-2022 and for ...
0
votes
0
answers
10
views
Remote debugging java application(java 17) in kubernetes
Unfortunately, I have not been found an answer on my issue.
My service.yaml has next settings for debugging:
- port: 5005
targetPort: 5005
protocol: TCP
name: debug-agent
My deployment.yaml has ...
0
votes
0
answers
19
views
Clear visual studio debugger's saved connections in attach to process dialog
I need to clear some old entries saved for Connection target dropdown list in Attach to Process dialog.
Some remote servers have been decommissioned. But their names are still listed on the top of ...
0
votes
0
answers
15
views
how can I use vscode on windows to remote debug launch a linux based project writen by c++ and built by makefile?
Background:
I am using vscode on windows to remote debug a linux based server project writen by c++ and built by makefile;
the Binary executable files made by the makefile could be launched by shell ...
0
votes
0
answers
21
views
Eclipse debugger
I'm using the editor debug tools to debug my java class, I have done the debug configuration. Once the debugger is on, it looks like the image prior to refresh. Next step is enabled and works but now ...
-1
votes
0
answers
43
views
Remotely debugging a Java project without a main method in Intellij IDEA
I have a Java project with some spring boot and groovy code that requires creating a .war file for deploying. I need to debug this project in the production environment. The problem is that this ...
0
votes
2
answers
28
views
Docker conditionally exposing port for debugger
I would like to conditionally open a debug port on one of the services in our docker-compose.yml file when we want to run the debugger.
services:
service-one:
ports:
- "3000:3000"...
0
votes
1
answer
42
views
Remote PHP Debugging from within WSL2 in Visual Studio Code
I'm running Windows 10, with a WSL2 Ubuntu instance. I do my development within the WSL2 instance with the "Remote - WSL" extension of Visual Studio Code. So my VSC is running as a WSL2 ...
0
votes
0
answers
18
views
how to configure Visual Studio 2019 to deploy a Linux project for debugging in a virtual machine?
I want to remotely debug a Linux project in Visual Studio 2019. To do this, I need a Linux computer. Instead, I would like to use Virtualbox with Linux installed.
To connect Visual Studio 2019 to a ...
0
votes
0
answers
20
views
Remote debugging: Connection timed out
I am trying to debug a jar file remotely in eclipse. In my scenario I have a test device and a local machine both of them are running in same network. The test device is using windows 10 as OS and ...
0
votes
1
answer
30
views
How can I debug Scala microservices running on AKS with Telepresence?
I know you can debug java microservices with Telepresence. And Scala runs on JVM, so it shouldn't be a problem right? But for some reason I couldn't manage it.
I have followed this video on youtube ...
0
votes
1
answer
27
views
Debugging .NET Code running in a specific pod replica into a AKS/Kubernetes cluster
I am looking for a solution to debug .NET 6 code (F#) running in AKS clusters with Visual Studio Code. I have tried Bridge to Kubernetes, but it doesn't allow (as far as I know) attaching to a running ...
0
votes
0
answers
25
views
vscode unable to launch chrome
When trying to launch chrome from VSCode, I am getting the following message:
Clicking "Open 'launch.json'" does nothing.
The code for launch.json looks like this:
{
// Use IntelliSense to ...
0
votes
0
answers
30
views
VScode Remote SSH tunnel failed
I am trying to connect on VScode my local computer to an Linux SSH Host which is a server where I don't have root access. I am able to connect in SSH to this server in a terminal but it is not working ...
0
votes
0
answers
28
views
“Program received signal SIGABRT, Aborted.“error in remote Linux,why? [duplicate]
When I execute the following code in Visual Studio on local windows computer,it runs well.But when I connect it to My Linux in virtual machine,there's something wrong with it.
error info on local ...
0
votes
1
answer
55
views
How to setup remote debug for Airflow running with official docker-compose?
I have tried to follow this article: https://medium.com/@andrewhharmon/apache-airflow-using-pycharm-and-docker-for-remote-debugging-b2d1edf83d9d.
The problematic parts are:
Which container should I ...
0
votes
0
answers
64
views
Visual Studio Code Extension for remote debugging PL/I on z/OS
we want to write a VSCode debug extension for remote debugging PL/I source code on the mainframe.
We use IBM's z/OS Explorer, but we don't want to start this heavy Eclipse bundle for debugging (...
0
votes
0
answers
24
views
Stepping in remote gdb session kills wifi
This is really strange... here is the situation:
I want to do remote debugging with gdb.
The target platform is an embedded 32-bit arm linux platform. Connectivity through serial or wifi. The ...
0
votes
1
answer
24
views
Android remote webview list of active sites is empty
I do some automated tasks an android over adb commands, at one part i need to access a webview inside the app and control it. Until now i did these things:
I get the running webview processes with ...
1
vote
0
answers
69
views
Debugging Laravel Octane (Swoole serving) by Yasd -
I try to debugging swoole Laravel app with Yasd. I'm getting errors when starting this repo
https://github.com/DenisPetrov100/Laravel-CRUD-SPA-SAMPLE-3
laravel.test_1 | 2022-06-24 10:19:44,403 INFO ...
0
votes
0
answers
39
views
Remote debugging Win32 VCL application built with custom runtime packages: bpl not found
I wrote a Win32 VCL application in Delphi 11.1 Alexandria, the application uses runtime packages that I also wrote myself. The application runs correctly on my development machine.
I'm now trying to ...
0
votes
0
answers
23
views
Unexpected classpath behaviour remote deployment of Java application with Netbeans 13
Can anyone help me understand the classpath logic when deploying Java applications to remote hosts?
Netbeans will build, deploy and execute my Java application correctly on a remote Linux (Ubutntu 20....
0
votes
0
answers
18
views
Remote debugging (Vs2017 pro) of our proprietory dll's
Vs2017 pro.
Hiya Folks,
I need to locate the exact line where our code is failing.
"The breakpoint will not currently be hit. No symbols have been loaded for this document"
We don't have the ...
1
vote
1
answer
64
views
Breakpoints are not being hit - CLion Full Remote Debug - MakeFile - GDB
It doesn't matter what type of remote debug connection I tried.. Full Remote Host, Remote Debug, Remote GDB Server etc.
Actually remote device starts working when I clicked the debug button. I can run ...
0
votes
0
answers
26
views
How to open chrome remote debugging port with js
enter image description here
For browsers started in non-debugging mode, is there any way to use js to open the remote debugging port instead of using command line parameter --remote-debugging-port.
0
votes
0
answers
103
views
Debbuging for FastAPI-WSL2-VSCode using Remote Dev Containers with docker-compose file not working
Issue:
The debugger in VSCode for FastAPI using Remote Development Containers with a docker-compose file, does not work. The app runs fine in the same configureation, it is only the debugger that can'...
0
votes
0
answers
17
views
how to debug web request for android apps?
I need a solution to catch web request come from android apps like Amazon, AliExpress etc.
It should be like Network tab of browsers' developer tools:
https://i.stack.imgur.com/5RNW8.png
Sure It doesn'...
1
vote
1
answer
249
views
Visual-studio code Remote SSH: How to open an html file inside the VSCode/ local browser?
I am using vscode Remote SSH extension to connect to a remote machine for Developement. Everything works perfectly fine, but I also need to open html files located in the remote machine locally. How ...
0
votes
0
answers
7
views
Visual Studio remote xcopy / build on virtual machine
I am currently using visual Studio in combination with the remote debugger to develop software on a virtual machine. Problem is that the software I develop is an extension for another program, which ...
0
votes
2
answers
122
views
The remote system does not have CMake 3.8 or greater
Introduction to the problem
I'm trying to create a MacOS app that prints a "Hello World" in C++ using Visual Studio 2022 (latest release 17.2.0) on Windows and the CMake template so I can ...
0
votes
0
answers
12
views
Chrome Remote Debugging gives me blank screen
I use remote debugging on raspian with chromium(92.0.4515.98~buster-rpt2) and it works just fine.
However, if I want to do the same on ubuntu with chrome(100.0.4896.127-1) or chromium(101.0.4951.64) I ...
1
vote
1
answer
77
views
Remote debugging suddenly stopped working, and troubleshooting yields no clear culprit where the problem could be
My remote debugger suddenly stopped working. This morning, it worked fine. This afternoon, I can't use it, and neither can at least 2 other members of my team nor can our build server which hasn't ...
0
votes
0
answers
16
views
Remote Debugger on Surface go Tablet and VS2017 not working
I installed Remote Debugger on surface go 2017.
Permission is set to "Everyone".
Authentication: Not needed.
Firewall is disabled on "Surface Go"
Debugger is successfully running ...
0
votes
0
answers
94
views
IntelliJ and Docker: Create a remote debug configuration: custom command
I am trying to run my java application (a project at my uni) in debug mode in IntelliJ with a dockerfile.
I found this tutorial:
https://www.jetbrains.com/help/idea/debug-a-java-application-using-a-...
0
votes
1
answer
80
views
Spring boot debug in Eclipse
I would like to debug my Spring boot application using the remote debugger in Eclipse.
Here is my docker-compose.yml
version: "3.8"
services:
mysqldb:
image: mysql:5.7
restart: ...
2
votes
0
answers
36
views
VS Code: Remote Debugging with Local Files (Go)
I have a remote machine that has physical hardware attached that my Go code interfaces with. The code must be run on this remote machine for it to work.
I'm using VS Code on a separate machine. I'd ...
0
votes
1
answer
34
views
VS 2019 remote debugging can't "see" my symbols (C++)
Sorry if this is a duplicate -- I've looked at this and this and others, but I can't find my problem.
A program I build debugs successfully on my local machine, but when I try to debug it remotely, I ...
0
votes
1
answer
61
views
SDL driver fails when starting debug session on remote linux
On Win10, I have a visual studio c++ project for linux that uses the SDL2 driver. The target machine is a VirtualBox - Ubuntu 18.04.
I configured Visual studio to compile remotely on the target system,...
0
votes
0
answers
132
views
Remote debug with pwntools and gdbserver
I am stuck when using pwntools for a program in remote server.
I tried gdbserver --multi and gdbserver --attach at server-side during pwn.gdb.attach((ip,port)) at client-side but it wasn't work.
0
votes
1
answer
232
views
How can one debug a Zephyr RTOS application which crashes only with the debugger detached?
I have a custom board using the u-blox BMD-350 (Nordic nRF52382) chipset (as well as the u-blox development board, the problem occurs on both). I'm using Nordic's Connect SDK version 1.9.0 which uses ...
0
votes
0
answers
26
views
Trouble using VS Code with Remove Debugging to a Raspberry Pi
I'm finding that when I run the remote server from VS Code on a Pi, it spins up so many node js processes, that, over time, the Pi becomes unresponsive. Here is what 'top' shows. Any of the lines ...
4
votes
0
answers
85
views
Remote debug slow, how i can filter what libraries are loaded
I am trying to debug our code on remote server. Our code base is large and the bandwidth to the server from our office is quite slow. It is impossible to debug (each step takes from 10 seconds to few ...
1
vote
0
answers
150
views
React Native aws-amplify Auth.signIn throwing NotAuthorizedException on android only when used with react native reanimated
I'm using
aws-amplify: 4.3.11,
aws-amplify-react-native: 6.0.4.
When I try to sign in and enter username and password, it first freezes the screen and hangs the sign-in button, then works and throws ...
0
votes
0
answers
59
views
Is it possible handle/debug requests hitting on remote EC2 instance with local java code?
I'm writing java services deployed to EC2 instances on AWS.
We're based on micro-services architecture.
When a service talks to a bunch of other services, it makes local dev environment hard to set up,...
0
votes
0
answers
22
views
Use same session for successive set_trace calls with remote_pdb
I'm writing python code that uses multiprocessing. From what I can tell, even when I'm testing with a single thread I need to use remote_pdb in order to do debugging. That seems to work just fine. I'...
0
votes
1
answer
139
views
Attach lldb to iPhone from command line
While attaching lldb to iPhone works from within Xcode. It is flaky at times. I wonder if it is because XCode has some additional checks before attaching to a process in iPhone. I'd like to debug an ...