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
Related
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
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.
How can I open the command prompt in vs code? But as a window separate from vs code?
I tried shortcuts and other questions on StackOverflow but they all are on vs code and not opening it on a separate window.
You cannot do exactly what you are asking for. However, it sounds like you might be interested in installing Microsoft Terminal, available for free in the Microsoft Store. I use Microsoft Terminal Preview, it works extremely well.
Visual Studio code has a double beep when saving a file that's particularly penetrating when wearing headphones. There doesn't appear to be a setting for it in the settings.
I did find a suggestion that it can be done in PowerShell with:
Set-PSReadlineOption -BellStyle None
but entering this in the terminal window of VS Code returned an ObjectNotFoundError.
Edit: I've discovered the problem is with PowerShell. I have a PowerShell window open to run the Angular 5 website and it's this that is beeping. I discovered this by switching to Visual Studio 2017 to edit the website and that happily beeped away on save too.
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.