Vscode: postLaunchTask would be very useful

Created on 27 Jan 2016  路  6Comments  路  Source: microsoft/vscode

Currently we have the ability to specify a preLaunchTask in launch.json configurations. This is extremely helpful in running a task that should kick off before launch.

Conversely, there could be post launch tasks that would be helpful to automate their execution. An example of a post launch task would be to, after the launch of the application, open a browser window with a specific URL to the current application.

In summary, a postLaunchTask would be helpful as preLaunchTask is.

debug feature-request help wanted

Most helpful comment

@tstringer
@isidorn
I will pick this up for December...

All 6 comments

@weinand any updates on the progress of the postLaunchTask feature? Or perhaps, do you know of any existing extensions that can perform a similar function?

We accept PRs that fix this.
Here's a code pointer on how preLaunchTask is implemented
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/electron-browser/debugService.ts#L892

@tstringer
@isidorn
I will pick this up for December...

Is it possible to support this for compound launch configs - so that, for example, once all my node-js processes are up, inject some scenario data or clear the DB from previous experiment....

@trstringer why did you close this? I think this is still an appropraite feature request?
We currently support a postDebugTask which runs after the whole debugging stopped, a postLaunchTask is still not supported as far as I know.

I wasn't sure of the timeline, it was almost a year stale at this point. I'll reopen!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

philipgiuliani picture philipgiuliani  路  3Comments

NikosEfthias picture NikosEfthias  路  3Comments

curtw picture curtw  路  3Comments

trstringer picture trstringer  路  3Comments

chrisdias picture chrisdias  路  3Comments