Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

debug: fix 'run without debugging' #3125

Merged
merged 2 commits into from
Mar 25, 2020
Merged

Commits on Mar 24, 2020

  1. debug: fix 'run without debugging'

    Bug 1: when generating the default debug configuration
    because there is no user-configured one, the extension
    dropped noDebug field and caused the program to run with
    debugging enabled. Fix it (goDebugConfiguration.ts)
    
    Bug 2: when debug adapter receives noDebug request, it
    runs the program with `go run` instead of invoking the
    program through dlv. The `go run` will not work in modules
    mode if the command runs outside the main module. Set
    cwd accordingly.
    
    Fixes microsoft#3121
    
    TESTED=manually with the example attached in microsoft#3121
    hyangah committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    889770d View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Configuration menu
    Copy the full SHA
    f678ef4 View commit details
    Browse the repository at this point in the history