Some non .Net Applications like the ones written in classic ASP are required to be debugged in Visual Studio. Since these are not hosted on IIS Express, but on IIS, you need to identify the worker process running your machine or the Server and attach the w3wp.exe with the Debug tool in Visual Studio.
Enable Debugging under IIS classic ASP section as shown below:


Under the Debug menu in Visual Studio, select “Attach to Process”:


There may be multiple worker processes running on the machine depending on how many applications are running under IIS. Match the right one with the correct ProcessID.
Add the debug points in your Asp file and hit the required Page in the browser.