Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to debug with vs2022 #793

Open
wjkhappy14 opened this issue Nov 29, 2021 · 6 comments
Open

How to debug with vs2022 #793

wjkhappy14 opened this issue Nov 29, 2021 · 6 comments
Labels
question Further information is requested

Comments

@wjkhappy14
Copy link

when run the:dapr run --app-id routing --app-port 5000 -- dotnet run successfully

then how to debug the app with vs2022 or vscode ?

@modabas
Copy link

modabas commented Dec 1, 2021

#401 (comment) worked with vs 2019 for me. I used second method (VS Extension)

@wjkhappy14 wjkhappy14 changed the title How tu debug with vs2022 How to debug with vs2022 Dec 3, 2021
@richbeales
Copy link

MSFT is there any plans to integrate this more 'obviously' into VS 2022? Rather than 3rd party extensions.

@halspang halspang added the question Further information is requested label Aug 29, 2022
@halspang
Copy link
Contributor

@wjkhappy14 - You can also start dapr separately from your app as it will wait for your app port to start listening to finish starting. You can then debug your app normally.

@richbeales - Not that I'm aware of, but we can take it into consideration. What kind of features/abilities would you want from a Dapr extension in VS?

@DaleyKD
Copy link

DaleyKD commented Aug 30, 2022

I'm with @richbeales here. I'm just starting to investigate how I can use Dapr with my current microservices, which is quite a few different .sln's in Visual Studio 2022. All the steps around Dapr, having to use manual CLI all the time, etc., sure makes me not interested in using it.

I realize, as developers, we're going backwards (used to be DOS/CLI, then we had nice GUI, but now we're back to CLI). I'm trying desperately to keep the inner loop VERY simple for my teams.

Until I spend time investigating Dapr, I have zero input in how to make this easier.

@richbeales
Copy link

Yes @DaleyKD we've become accustomed to Visual Studio giving us "Right click to add feature x" (Dapr in this case), then "F5 to run" the project.

VS's key advantage over the terminal/VSCode is it should be able to bootstrap this stuff for you (and keep that tight debugging loop)

@m3nax
Copy link
Contributor

m3nax commented Apr 12, 2024

Any updates? I have spoken to some programmers who have used dapr to develop software in production, and the problem they have all reported is the difficulty of debugging with Visual Studio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants