Daniel Santos
Daniel Santos

Reputation: 15848

How debug ASP.NET Core MVC application using a mobile device?

I would like to access a debug session from my ASP.NET Core MVC application from another device. For instance, normally the iss is bound to localhost:port. How can I access this by using another network device at 192.169.0.???:port.

In other words... I want to press "F5" to start debug session. The same way I open a local browser and browse to the ISS localhost, I Would like to open a browser in another device (mobile or pc) in the same network and browse my application by network.

typing the developer machine ip from another machine does not works. By the way, typing the local ip address does not work either. It only works by typing "localhost".

Is that possible using visual studio 2017?

Upvotes: 1

Views: 2061

Answers (1)

Brian Mains
Brian Mains

Reputation: 50728

I think you want to use this remote debugging approach? It requires installing something on the remote server for it to work. You have to use Visual Studio so it requires a computer supporting that. Your subject says "mobile device", so I wasn't sure what you meant by that.

Upvotes: 1

Related Questions