How to debug an exe - eclipse

I am running a web application code from Eclipse. I have to run an exe and work on that.[Loading of the page in the web browser will not work.]
I would like to debug the code, As for Java side I can able to debug it after running the exe. But I could not debug the UI part. I looked into the internet and have come to know that we can debug it in visual studio.
I tried to open the exe file in visual studio and placed some breakpoints in the JS and started both the server and the exe in debug mode but still it is not working. Please let me know what i am doing wrong or is there any other way where I can able to debug the code.

Related

Running many files in Visual studio code

How can I get made code files running at the same time in VS code app?
When I run say my_pomodoro_app.py which comes with a Tkinter window, I am unable to run any other code file unless I close my pomodoro app. This does not happen in Pycharm.
Is that how VS code works? Or I have to do some settings to enable running mmany programs?
I search on the internet but coudn't get the solution

VSC: when starting debug (F5), get a spurious web page localhost:53519

Visual Studio Code (VSC) when hitting F5 to start the debugger, it spawn a page localhost:53519 which is does not make any sense to me. It does not affect the debugging function, it is just that it is there and I have to click to close it.
I cannot find that port number in "Open Configuration".
I did not expect this page to be launched when F5 is executed.
Update: Debugging php with xdebug installed. Live server was previously installed but later removed, and the problem is still there.

issues debugging using VS code

I'm developing an office-js taskpane add-in for Excel.
I am using VS code as the IDE and debugging environment.
After running a debug, more often than not I cannot run a second debugging session because VS code does not launch WebPack.
I end each debugging session simply by closing Excel. That also ends the session according to the VS code terminal. But if I hit F5 again, Excel starts immediately and webpack does not. I have to reboot the machine to get it working again.
Does anyone here know how I might fix this extremely annoying issue?
Here are a few links you may find helpful in debugging Office Add-ins:
Debug Office Add-ins
Attach a debugger from the task pane
Sideloading and Debugging Outlook Add-ins

How to debug Javascript run by a different application (Resco MobileCRM) via "Attach" in VSCode?

I have some Javascript code, that is run in an internal browser in the application Resco MobileCRM. I can use Visual Studio to attach to the process and debug the script code. How can I achieve this with Visual Studio Code?
I tried ".NET Core Attach", that does attach to the process, but does not debug the script code.
Regards
Sven

Visual Studio Code with XDebug Getting Stuck

I'm using XDebug with Visual Studio Code on Windows 10 to debug PHP.
The debugger works but from time to time it's getting stuck (hits the breakpoint but doesn't respond to step in, step over commands).
I tried switching to XDebug nts version (Not Thread Safe) but it doesn't help. Restarting the web server (Apache) doesn't resolve it either. Sometimes computer restart helps but not always...
Any solution or workaround? (Even a command line that frees this deadlock)
Having out of context debug expressions in the watch window causing the debugger to get stuck.You should clear the watch window from expressions.I guess the evaluation of out of context expressions make the debugger to get stuck.