Console- Visual Studio Code- Where is this? Only see Debug Console - debugging

I am trying to access the console of Visual Studio Code, but I can not. I can not type in the Debug Console. I am trying to use 'typeof' command but keep getting the zsh:command not found error.
Tutorial snapshot

That console is actually the browser console. If you right click or command click on your browser click inspect and then Console.

Related

How to click and follow errors in VSCode just like Visual-studio

I am very new to VSCode and a former Visual Studio user. Historically, when you click on a Visual-studio error, it does take you to the pice of code that actually contributed to that error. However, in VSCode, I can see what error is caused when I do dotnet build but there is no way to click and go to the error location.
I am just wondering if there is any way this can be done in VSCode?

Typescript VS2017 stops at first line, error: Debugger agent is not enabled

When I start a newly created Typescript Project in Visual Studio 2017 theres some strange behaviour going on.
-The debugger breaks on the very first line
-The output shows:
code:-32000
message:Debugger agent is not enabled
-Many scripts in solution explorer (see screenshot)
-Node output:
Debugger listening on wb://127.0.0.1:5858/03dde2a0-7ae8-44fc-8b29-53b99c072de7
For help see https://nodejs.org/en/docs/inspector
Debugger attached.
Screenshot:
Edit: Seems to be a problem with the new node version. If I switch back to 5.4.1.0 (included in VS2017) everything works fine. I read that there has been a change in debugger protocol maybe it has something to do with that... gotta wait for an update.
To show the Console, we can use: Debug -> Windows -> JavaScript Console.
Michael Braude showed two suggestions for the similar issue:
1.Use JavaScript Console of Visual Studio. Frankly, this way is OK for me when I am developing on PC with two displays (I runs emulator on
one screen and debug with Visual Studio on another), but a bit
uncomfortable when I am developing on Notebook with one screen.
2.Run a solution without debugging (CTRL+F5), in this case VS's debugger isn't attached to browser. This looks as simple solution, but
you need to be aware that in this case breakpoints don't stop run-time
and you have to use debugger; keyword.
For detailed information:
Visual Studio Tools for Apache Cordova stops work correct after update
I got it working again by using the included node version of VS2017. There seems to be a problem with the new version <8.
You can choose which version to use by putting the path to the exe folder on top of the list here: Tools > Options > Projects and Solutions > Web Package Management > External Web Tools

Visual Studio: Attaching the Webkit debugger to process chrome.exe on machine failed

I have installed Visual Studio 15 Preview 5 on my machine. Whenever I run a project with any browser other than Google Chrome it runs graciously. But whenever try to run with Google Chrome it cannot run the project stating as follows:
Attaching the Webkit debugger to process chrome.exe on machine "TanvirArjel" failed.
In the browser tab it shows as follows:
Any idea how to fix this issue??
Go to Debug → Attach To Process, and change "Attach To:" to "Native Code".
Stop debugging.
Edit csproj.user file
Find section wrote below:
<SilverlightDebugging>True</SilverlightDebugging>
Change Value to "False"
Unload and reload your project in Visual Studio.
Sometimes it needed to close Visual Studio.

how to debug wp7 app in vs2010

How to debug/test wp7 app in vs2010? Can I log any info into a log file? Can I print info on the console? Is there any debug tools for wp7 like android adb?
-Henry
You get an emulator and full debugger integration through Visual Studio. It just works.
Load your project in Visual Studio. Connect your Phone. At the top select Windows Phone 7 Device (instead of Emulator). Press F5.
Now you're debugging.
You can set breakpoints if you want to debug that way, or you can log whatever your want to the output window via Debug.WriteLine().
If you want to log to a file, you can write your own logger that writes data to Isolated Storage. There is a hacky, non-supported way to get this data off the phone, or you can just add the functionality to your app to view the log.
You can see this MSDN document. I search about debug and I found it on MSDN page.
Hope it helps.

How do I get my Jscript Debugger to Attach to a Process?

I get the following JScript Debugger error when I click on the Start Debugging button in the Script tab of the Developer Tools (F12) window:
Unable to attach to the process. Another debugger might be attached to the process.
Closing all browser windows and launching ie again has no effect.Ending the process tree in Windows Task Manager and starting a new iexplore task has no effect.Hitting Shift-F5 when in the Developer Tools window has no effect.Rebooting the entire machine reveals how desperate I am and has no effect.Searching in Regedit's [HKEY_LOCAL_MACHINE\SOFTWARE] branch for "JITDebug" just reveals I don't know what the hell I'm looking for.
I find that I experience this problem when launching a site in debug mode from Visual Studio.
If you would like to use the debugger in Internet Explorer Developer Tools you would need to launch the site outside of Visual Studio.

Resources