Is it possible to consecutively debug configurations in VSCode - visual-studio-code

In VSCode, I would like to automate the debugging of node scripts consecutively instead of manually selecting configurations. In the terminal, one would run node program1.js && node program2.js. Is this possible?

There is a package called concurrently if you want them to run in parallel

Related

How to open multiple integrated terminals in vs code and run command on them?

I'm working on my react project so every time I want to start working I have to open 3 terminals one for npm start which starts the react dev server, one for tsc -w which watches the typescript changes, and one sass src/sass:src/dist for sass compiler and it takes time every time having to manually open the terminals and running the command and switch to the next one, is there a way to automate this process, like an npm script or keyboard shortcut on vs-code? and if so is there a way to split them into one page on the terminal box in vs-code so I can see all three at once just by running the script or shortcut on vs-code?
Thanks!

Auotomate VS Code Run Tasks through command line

I am using Visual Studio as my IDE. I have multiple run tasks defined in launch.json which I can run it from Run/Debug menu.
I want to run few specific tasks in some order from launch.json very frequently,
So If there is any way to achieve this via command line or aggregrate those tasks into a new launch file and run it.
Any thoughts how can I achieve this?

Run a local command before starting eclipse debugging

I want to run a terminal command just before a debug configuration starts on Eclipse.
I heard about CDT launch Groups, but couldnt get around it fully. I need to just run a normal terminal command, nothing fancy.
The aim is to copy some stuff over to the execution path before actually starting the debugging.
I managed to do this via "Launch Groups" in the CDT. Creating 2 groups, one as a c/C++ Application which calls a shell script that includes the command I want to run. And then the normal debug configuration I wanted to execute.

How can I run multiple instances of VSCode in a different process job?

I'm using Windows.
Is it possible to run several instances of VSCode in different process groups/jobs?
I had a bad experience of VSCode hanging when debugging while working on other project simultaneously. If one process is terminated, the whole group of processes are terminated too.

Why does nodeeclipse require a monitor path to run?

When i press Run as node application,
Node.js monitor is not correctly configured.
Select path to installed util: forever, node-dev, nodemon or supervisor.
Please goto Windows > Preferences > nodeclipse and configure the correct location.
I have now installed nodemon and everything works fine.
But, yesterday i ran my node apps with no issues or monitors, why am I suddenly forced to use one?
Given that (Run as Node application) and (Run as Node with monitor) are separate options for Run, why do they both require monitors? I am new to eclipse, so don't hesitate to offer obvious answers
There was unsolved issue, that Eclipse can use only one Run configuration.
To clean up
Right-click .js file, select Properties
on Run/Debug Setting page delete all but 1 run configuration