Skip to content

Debug /example if editing a package #1927

Closed

Description

@lukepighetti

Currently if you're working on a package with an /example folder, if you hit F5 for debug, it will show a blank launch.json instead of attaching to the example project. Since I don't know how to set up the launch.json file it would be nice if it would just automatically debug example.

Activity

  1. added this to the v3.4.0 milestone on Aug 19, 2019
  2. added
    in debuggingRelates to the debug adapter or process of running debug sessions
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Aug 19, 2019
  3. DanTup commented on Aug 19, 2019

    @DanTup
    Member

    If you put cwd: "example" in your launch config, that should work.

    However, it does seem like if we can detect it's a patch that looking in example automatically (similar to how we find other well-known entry points) is a reasonable guess.

  4. changed the title [-][FR] debug /example if editing a package[/-] [+]Debug /example if editing a package[/+] on Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions