remote-debugging

Visual Studio Code - how to remote debug python code in a Docker Container

北城以北 提交于 2019-11-27 03:18:29
问题 Iam trying to remote dubug python in VSC: It is main.py file: print('Hello, World') debug.py: import ptvsd ptvsd.enable_attach('my_secret', address=('0.0.0.0', 7102)) ptvsd.wait_for_attach() Dockerfile: FROM python:3.6-slim EXPOSE 7102 RUN pip install ptvsd WORKDIR /app COPY . . CMD ["python", "debug.py"] and it is launch.json file: { "version": "0.2.0", "configurations": [ { "name": "Attach (Remote Debug)", "type": "python", "request": "attach", "localRoot": "${workspaceRoot}", "remoteRoot":

How to do remote debugging with Eclipse CDT without gdbserver?

北慕城南 提交于 2019-11-27 01:53:53
问题 We're using the Eclipse CDT 5 C++ IDE on Windows to develop a C++ application on a remote AIX host. Eclipse CDT has the ability to perform remote debugging using gdbserver. Unfortunately, gdbserver is not supported on AIX. Is anyone familiar with a way to debug remotely using Eclipse CDT without gdbserver? Perhaps using an SSH shell connection to gdb? 回答1: finally I got gdb run remotly anyhow now. At the Bug-symbol on the taskbar I took Debug Configurations - GDB Hardware Debugging. In Main C

Remote debug Jetty (no mvn, no plugins)

孤者浪人 提交于 2019-11-27 00:18:49
问题 Past scenario - Work with Tomcat and start in debug mode and Remote Debug with Eclipse. - Define a port and connect with eclipse in this debug/remote port. - Use to debug servers in other hosts/servers Today scenario Now, I'm using Jetty and I've try to do the same, but with no success, could anyone help-me with that? I did not use Maven, and did not want to start Jetty inside from my Eclipse. Environment: Windows XP Java V. 5 Jetty V. 6.1.15 Links: http:// docs.codehaus.org/display/JETTY

How do I deal with a ClassNotLoadedException while debugging?

风格不统一 提交于 2019-11-26 23:13:41
So I'm (remotely) debugging a java/jboss application in Eclipse, stepping through line by line. At one point, an array of GridSquare objects ( GridSquare is a fairly simple, standalone class, contains a few properties and methods) is created by a method call, i.e: GridSquare[] squares = this.theGrid.getSquares(14, 18, 220, 222); ...While when I actually execute the code, the squares array does get populated with GridSquare objects, I get something odd when stepping through the code and debugging. At a breakpoint on the line immediately following the assignment shown above, if I try to view the

'Hot code replace' not working — Eclipse doesn't change any code on JBoss

随声附和 提交于 2019-11-26 23:08:03
问题 I'm currently experiencing a problem with 'hot code replace' not working on Eclipse Galileo and JBoss 4.2.3. Among other applications I'm running an exploded Java WAR on my local JBoss. The project from which it is build is managed by Maven. I build the project using the Maven goal war:exploded and then I copy that directory to JBoss with an ANT script. When I'm now running the application and set a breakpoint anywhere in the code, Eclipse properly halts at that line in the debug mode. But

how to enable WebKit's remote debugging/inspector of Android app using WebView?

一世执手 提交于 2019-11-26 21:14:39
问题 I need to inspect javascript execution (webview widget) in an android application, while debugging; through SDK & usb cable and/or http/websockets; from destop computer (e.g. chrome running on desktop). Webkit's sources includes DebuggerServer implementation ( platform_external_webkit\Source\WebKit\android\wds\DebugServer.cpp ) accessible at cpp level, and bound if flag WDS is enabled (at build time?) Source\WebKit\android\jni\WebCoreFrameBridge.cpp:#if ENABLE(WDS) Source\WebKit\android\jni

How do I debug Internet Explorer on Windows Phone 7?

廉价感情. 提交于 2019-11-26 20:33:33
问题 I'm not a Windows Phone developer, and I want as little to do as possible with anything related to Microsoft. Nonetheless, I need to get my mobile web app running properly on Windows Phone 7. What debugging tools are available for the platform? Something like the Webkit developer tools or Firebug would be ideal, either from the phone itself or more likely, remotely debugging from my computer. If such a thing doesn't exist, I'd settle for being able to read Javascript error messages, and view

Could not open Selected VM debug port (8700)

前提是你 提交于 2019-11-26 20:20:03
问题 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 fine until I run the ddms command. At this point, if Eclipse is running I get the error 'Could not open Selected VM debug port (8700)'. If I close Eclipse, then ddms runs with no problem, and I can the the processes on the emulator. However, if I

How to debug server side code in a Meteor app

血红的双手。 提交于 2019-11-26 20:16:12
问题 I have been struggling to debug the server side code in my app. For the client, the browser debugger in chrome or firefox work like a charm but it is more complicated for the server 回答1: So here is how I managed it for meteor 0.5.6 there is no need to tinker with the run.js anymore install node-inspector https://github.com/dannycoates/node-inspector create an environment variable export NODE_OPTIONS='--debug' run meteor or mrt command. It should tell you something like debugger listening on

Chrome remote debugging doesn't work with IP

£可爱£侵袭症+ 提交于 2019-11-26 19:29:56
问题 I'm trying to remote debugg a chrome instance using the remote debug option in chrome: chrome.exe --remote-debugging-port=1337 as described on google page: http://code.google.com/chrome/devtools/docs/remote-debugging.html the problem is when i try to access it using IP it doesn't work, while testing it with localhost:1337 does work. any idea? 回答1: You can setup an SSH tunnel in order to debug remotely. On the source machine execute: ssh -L 0.0.0.0:9223:localhost:9222 localhost -N Then on the