debug web workers in node js using visual studio 2015 - node.js

I'm using webworker-threads package in my node js application. when I set a breakpoint in Worker callback function. I doesn't stops and debugs it just ignores it, I am using visual studio 2015. I couldn't find any solution to this on internet

Related

Performance profiling Node.js/TS with Visual Studio Pro 2019

I created a project in Visual Studio Pro 2019 from an existing Node.js TypeScript web code via the “Create a new project” wizard in VS. I am using a Windows 10 machine.
When I launch the Performance Profiler, the only available tool is “Events Viewer”. The tool that I want to use is “Instrumentation” so that I can measure call counts and call response times.
Has anyone had any success in doing this for a Node.js TypeScript web project in VS? If so, how were you able to get the “Instrumentation” tool enabled?
I have seen mention of profiling in the following link, but it is probably referring to Node.js JavaScript projects: https://visualstudio.microsoft.com/vs/features/node-js/
I haven't been able to profile Node.js project with Visual Studio 2019 but I'm using Visual Studio Code as a workaround.
Can I profile NodeJS Applications using Visual Studio Code?
I have been using profiler for C++ project with Visual Studio 2019 and it is better than profiler on VS Code.

How to install node js tools for Visual Studio 2019?

I'm fairly new to web development (coming from app development). I'm trying to use visual studio 2019 on mac and I don't see a way to install the node js extensions or 'workload' that a lot of tutorials are recommending.
How do I get started with node js and react development in VS 2019?
VS for Mac is rather different from VS for Windows, and does not yet support Node.js.
Instead, you should use Visual Studio Code, which is the same on all platforms and does.

Typescript debug for Ionic2-Angular2 application in Visual Studio code

I am working on Ionic2-Angular2 all device (ios/Android/Desktop) app and looking for a good solution to debug Typescript for Ionic2-Angular2 application in Visual Studio code. I know it is easy to debug Node.js backend code in VSCode but ionic 2 application which is targeted to run on various platforms including desktop has mainly client side code written in Angular2-Typescript. VSCode is my favorite editor but ready to move any open source IDE/Editor if it supports Ionic2-Angular2 and Typescript.
you debug it the same way you debug Ionic 1 applications.
See here in the cordova documentation
https://cordova.apache.org/docs/en/latest/guide/next/#debugging-cordova-apps

Node.js Visual Studio 2015 getting the breakpoint will not currently be hit no code has been loaded

Using the new VisualStudio 2015 node.js tools i:
1. created new empty node.js project
2. added the directory's which contains the project files.
then i run the application from visual studio where app.js is the entry point .
the app is working fine from VS .
but when i want to debug the app , i can only set break-point at app.js
when i tiring to set break point in one of the files i added
it gives me this massage :
the breakpoint will not currently be hit no code has been loaded
im using :
> Visual C++ 2015 00322-20000-00000-AA582 Microsoft Visual C++ 2015
> Node.js Tools 1.1.30910.02 Adds support for developing and debugging
> Node.js apps in Visual Studio
>
> Node.js Tools - Profiling 1.1.30910.02 Profiling support for Node.js
> projects.

Can Visual Studio 2013 debug clientside javascript in a NodeJs Web Application

Debugging a ASP.NET WebAplication in Visual Studio 2013 gives the possibility to debug the clientside javascript files in Visual Studio 2013. Isn't this possible with a NodeJs Web Application in Visual Studio 2013 ?
It can be done using IE as the browser and using node.js tools for Visual Studio, but I have not been able to debug through from client to server side code like you can with an ASP.Net project :o(
Anyhow, here is how you do it:
In IE, enable script debugging by going to Tools > Internet Options > Advanced Tab and clearing the "Disable script debugging flag". I think you have to restart IE for this to take effect
In VS2013 start your node.js project without debugging (Debug > Start without debugging or CTRL-F5)
In IE, attach to the VS debugger (View menu > External Script Debugger > Open. This should create a window that lets you attach IE to your instance of VS2013.

Resources