Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

From running javascript in VSCode, invoke a configured task from `tasks.json`

In VSCode, I am running the script 'control.js' in Node.js. I now want to run (called from a line in control.js) a task in tasks.json of the project folder, selecting that task using the label ...
TS Steve's user avatar
-1 votes
1 answer
381 views

problemMatcher not matching

I'm trying to write a simple problem matcher for the output of ts-node-dev, but for some reason VSCode never detects problems in the output. Here's the terminal output I would like to match; it ...
Nate Glenn's user avatar
  • 6,712
0 votes
1 answer
196 views

How to properly delay the loading of a Node/Express API using tasks.json in VS Code

I've got a microservices project which I debug in a single VS Code instance. I use Compounds in launch.json to launch/debug. There's a "Metadata" service which all other services are ...
Tsar Bomba's user avatar
  • 1,077
2 votes
0 answers
228 views

Unable to Debug Typescript on VSCode

I'm trying to debug a typscript project from vscode on Windows 10 using WSL as the default shell but getting the following error when I click the run button The terminal process "C:\WINDOWS\...
Harindaka's user avatar
  • 4,868
8 votes
2 answers
2k views

VSCode Task to run various node commands

I have a monorepo where I wish to create a script for starting up a specific project locally. The project is completely Node.js based. For me to set up this project locally for development, I need ...
nopassport1's user avatar
  • 1,934
4 votes
1 answer
2k views

vsCode refresh tree when adding new Item

I use the following code to show tree items, https://github.com/microsoft/vscode-extension-samples/tree/master/tree-view-sample The items which is shown in the tree is related to a file, if the file ...
Jenny M's user avatar
  • 1,023
6 votes
1 answer
2k views

VSCode generate a task.json entry when choosing a task

I want to create a VSCode extension that generate a shell task, like shell task with additional generic properties. Example: When user choose a task (my specific task that the extension is ...
Rayn D's user avatar
  • 629
6 votes
0 answers
649 views

Create a new VSCode extension for different tasks

I want to create a custom VS Code task with my own schema docs vscode task e.g. A new tree view which is empty and when user click on + button (a new tree view with button which is similar source ...
Beno Odr's user avatar
  • 1,273
2 votes
0 answers
4k views

How do I run a shell script prior to launch.json in vs code for cucumber-js

So I have a shell script that holds environment variables env.sh: echo "Running Environment Variables Script" ######################################################### # Run-time Options # set to '...
Huckleberry Carignan's user avatar
0 votes
2 answers
3k views

Node.js compile on save

I have an Angular app compiling on save thanks to an autogenerated tsconfig file, but I can't figure out how to do the same for a Node.js server. Do I need to modify launch.json to reference another ...
Rilcon42's user avatar
  • 9,755
2 votes
1 answer
853 views

Typescript build task in VSCode on Windows 10 with Windows Subsystem for Linux

My VSCode settings (workspace settings in my case) are setup to use bash as the default terminal: { "terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\bash.exe" } I ...
alkasai's user avatar
  • 4,003
5 votes
1 answer
780 views

Combining Visual Studio Code Build Tasks

The Visual Studio Code documentation provides example tasks.json configuration that allows either typescript compilation, or markdown compilation. It does not clarify how to achieve both ...
Brent Arias's user avatar
  • 30.1k