scalameta / metals-vscode

Visual Studio Code extension for Metals
https://marketplace.visualstudio.com/items?itemName=scalameta.metals#overview
Apache License 2.0
299 stars 75 forks source link

Missing Scala debugger when creating launch.json #1384

Closed adpi2 closed 1 year ago

adpi2 commented 1 year ago

Describe the bug

When creating the launch.json file, there is no Scala debugger showing up.

To Reproduce

Steps to reproduce the behavior:

  1. Import a Scala project in VS Code using Metals
  2. Open the Run and Debug view
  3. Click on create a launch.json file

There is no Scala debugger:

image

Expected behavior

We should be able to choose a Scala debugger which should then initialize the launch.json file with one of Metals' configuration.

Installation:

adpi2 commented 1 year ago

Fixed in VSCode 1.77.1.

It creates the empty launch.json file without prompting for a debugger.