question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add visual studio support

See original GitHub issue

What should we add or change to make your life better?

It would be great to have a Tye extension available in visual studio. (All i need is a tye run button)

Why is this important to you?

Right now i can’t easily transistion to tye because part of my team wants to stay with visual studio and they don’t want to run their project from the commandline. It would be nice to have a replacement for the run multiple projects button in VS. Right now if i still want to use Tye i have to manually setup Tye’s env variable structure in the launchsettings.json to make sure it will work for them when using the traditional method. If tye could generate this for me then that would be a great help too.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:8
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
tebecocommented, Oct 13, 2020

yeah i would love a to see if “just press F5” is possible to use either the tye.yaml by default but also the possibility to select one (mono repo) and that would attach debugger properly to all the given project list in thé services 😉

It could also use the launchProfile for specifying specific tags for filtering (is there an env var mapping to tag filter ?)

2reactions
glennforddcommented, Feb 8, 2021

I managed to create a workaround for the meantime to have our team a "F5"experience

  1. Install Microsoft Child Process Debugging Power Tool
  2. Restart VS. Go to Debug > Other Debug Targets > Child Process Debugging Settings > Tick Enable child process debugging
  3. Create a project that serves as your Runner or Startup project
  4. Create/Edit a debug profile and change it to Executable
  5. On the Executable field, enter “tye”(without double quotes) and on the arguments field enter “run” (without double quotes)
  6. On the Working Directory enter $(SolutionDir) or wherever your tye.yaml will be
  7. Tick Enable native code debugging

Set that as your startup project hit F5 and debug. I know it’s a hack but for my setup it’s working perfectly.

Note that I only tested this using the Basic Example that was provided as I’m not going to use other stuff (e.g. K8s, ingress, replicas, etc.)

I also feel like it made Tye working slower than just doing it via Terminal

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support Overview - Visual Studio - Microsoft
All of the help you need for Visual Studio product support pages. FAQs and articles for Visual Studio IDE, VSTS, Code and more....
Read more >
Technical Support & FAQs | Visual Studio IDE - Microsoft
Get help with common Visual Studio installation issues, download and installation, licensing and purchasing, and support policies.
Read more >
Visual Studio Subscription Support - Microsoft
Get help with Visual Studio Subscriptions, accounts and billing. ... Search the FAQ to find answers to common support questions about subscriptions, ...
Read more >
Install Visual Studio
Learn how to install Visual Studio, step-by-step. ... We offer an installation chat (English only) support option for installation-related ...
Read more >
Modify Visual Studio workloads, components, & language ...
Choose the Language packs tab in the Visual Studio Installer. Select the language you prefer. Follow the prompts. Support or troubleshooting.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found