remote-debugging

Debug C app using visual studio code and Vagrant runnig ubuntu

巧了我就是萌 提交于 2021-01-25 01:42:51
问题 I boot up ubuntu using Vagrant to compile some C code, now i like to debug this code using Visual Studio Code. How can i setup some kind of remote debug where the compiler and source code and all on the Ubuntu VM And I only using VSCode from windows? PS. This used to work very well with windows WSL linux . But now i like to achieve the same result with Ubuntu using Vagrant ( using Virtual Box ). Can it be done? UPDATE I tried as suggested but I'm getting error : my virtual box config from

NodeJs: Chrome inspector can map source but unable to debug on original source

好久不见. 提交于 2021-01-05 07:47:16
问题 I have attached chrome inspector to a NodeJS process and see that Chrome can detect the running built source code ( /dist folder ) and also correctly mapped the source code ( /src folder ) to the built source code However, Whenever I put a debug point in the original source code (/src) , the debugging point is set to the correct line in the built (/dist) version instead and I can only debug the with the built version but not the original source code The situation can be seen in the picture

How to debug “built” production NodeJS

谁说我不能喝 提交于 2021-01-01 09:29:12
问题 I am using Visual Studio code to debug a node application in production environment The Node process runs inside docker, I port-forwarded and signaled USR1 to enable attaching debugger from VS code to that node process My VS Code configuration is like this { "version": "0.2.0", "configurations": [ { "type": "node", "request": "attach", "name": "Debug: service", "sourceMaps": true, "smartStep": true, "remoteRoot": "/src/", "localRoot": "/home/my-username/work/orders/src/", "protocol":

How to debug “built” production NodeJS

不问归期 提交于 2021-01-01 09:25:02
问题 I am using Visual Studio code to debug a node application in production environment The Node process runs inside docker, I port-forwarded and signaled USR1 to enable attaching debugger from VS code to that node process My VS Code configuration is like this { "version": "0.2.0", "configurations": [ { "type": "node", "request": "attach", "name": "Debug: service", "sourceMaps": true, "smartStep": true, "remoteRoot": "/src/", "localRoot": "/home/my-username/work/orders/src/", "protocol":

Attempt to debug a remote Wildfly 20 server failing

巧了我就是萌 提交于 2020-12-15 11:46:06
问题 I have I have configured Eclipse 2020-06 to deploy to a Wildfly 20 Service running on a remote Ubuntu 20 VM. Doing this created a Remote Debug Configuration. When I Run that Remote Debug Configuration I instantly get the error: Failed to connect to remote VM. Connection refused. Connection refused: connect Here are what I think are important facts: Wildfly is running as a service @ 192.168.1.19. I have uncommented the JAVA_OPTS line in standalone.conf so that the service starts up in Debug on

Attempt to debug a remote Wildfly 20 server failing

瘦欲@ 提交于 2020-12-15 11:45:49
问题 I have I have configured Eclipse 2020-06 to deploy to a Wildfly 20 Service running on a remote Ubuntu 20 VM. Doing this created a Remote Debug Configuration. When I Run that Remote Debug Configuration I instantly get the error: Failed to connect to remote VM. Connection refused. Connection refused: connect Here are what I think are important facts: Wildfly is running as a service @ 192.168.1.19. I have uncommented the JAVA_OPTS line in standalone.conf so that the service starts up in Debug on

Attempt to debug a remote Wildfly 20 server failing

主宰稳场 提交于 2020-12-15 11:45:09
问题 I have I have configured Eclipse 2020-06 to deploy to a Wildfly 20 Service running on a remote Ubuntu 20 VM. Doing this created a Remote Debug Configuration. When I Run that Remote Debug Configuration I instantly get the error: Failed to connect to remote VM. Connection refused. Connection refused: connect Here are what I think are important facts: Wildfly is running as a service @ 192.168.1.19. I have uncommented the JAVA_OPTS line in standalone.conf so that the service starts up in Debug on