Vscode: Please set up the launch configuration file for your application

Created on 7 Jun 2016  路  12Comments  路  Source: microsoft/vscode

Steps to Reproduce:

  1. I updated VSCode to 1.2.0
  2. When i debug a nodejs app and set config, but VSCode still tell me to set up config

image

bug candidate debug verified

Most helpful comment

@ghurlman the launch config dropdown:
2016-06-07 15-32-36

All 12 comments

I just updated today and am getting the same thing.

I install back to 1.1.1, everything is ok.

updated 1.2, same thing.how to ignore it?

Just open the launch.json or select a launch config from the drop down menu and problem disappears.

@weinand Which dropdown menu? having the launch.json file open in the editor or not doesn't seem to have any effect.

@ghurlman the launch config dropdown:
2016-06-07 15-32-36

@weinand Thanks! I'd only ever launched via F5, so I totally missed that.

Re-choosing "Launch" for my NodeJS app (Launch was already specified in the dropdown) addressed this issue for me. It's like the default option for the dropdown isn't getting set in the debugger or something.

@JoBrad yes, your analysis is correct. Sorry for the inconvenience.

Thanks for the fix! Was really bugging me :)

@weinand Thanks

For the recovery vscode build we have decided on a simple solution: we open the debug viewlet when the launch.json is generated for the first time. I understand this changes how the UI behaves, but making the vielwet more discoverable on first setting up debug is not that bad IMHO.

Later in June we will look to address this feature without changing the UI

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omidgolparvar picture omidgolparvar  路  3Comments

chrisdias picture chrisdias  路  3Comments

sirius1024 picture sirius1024  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments

trstringer picture trstringer  路  3Comments