swiftlang / vscode-swift

Visual Studio Code Extension for Swift
https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang
Apache License 2.0
706 stars 47 forks source link

Need to reload vscode to start swift-lldb debug session #848

Closed award999 closed 2 weeks ago

award999 commented 3 weeks ago

Describe the bug Need to reload vscode to start swift-lldb debug session when enabling swift.debugger.useDebugAdapterFromToolchain setting

Screenshot 2024-06-05 at 4 05 03 PM

To Reproduce Steps to reproduce the behavior:

  1. Set swift.debugger.path to lldb-dap path
  2. Enable the swift.debugger.useDebugAdapterFromToolchain
  3. When prompted select to "Update" generated launch configurations

Expected behavior Should be able to run this debug session with restarting vscode

Environment

Additional context Add any other context about the problem here.

matthewbastien commented 2 weeks ago

Verified with e8308d6