Is It possible to make a video explaining the version 1? I dont find the pdb file
While the original how-to may be a few years old, we thought this topic merited a video how-to, so without further ado:
Appears that the embedded video isn't showing up for others...in case you aren't seeing the embedded video, the URL is here: https://youtu.be/B3mXzytlbQw
Luis Filipe Oliveira wrote:
Hi Luis ,
Is the Debug possible in cloud based environment where we do not have access to server ? Is there any way to debug application in cloud based environment
Thanks,
Nilesh
Hi Nilesh,
Isn't possible to debug an extension in a cloud environment. You need to test it in other ways like logs or in a .Net Project.
Regards,
Marcelo
Hi Nilesh Rokade, isn't possible. You need to have access to the serve and have visual studio installed.
The only way is like Marcelo said or you create a sample project and debug it through it or you can add log entries in the extension and check the values in the service center.
(instructions below are for on-prem only)
For those who wanted to do debugging using Visual Studio installed on their machine rather than on server, remote debugging can be an option. Depending on your Visual Studio version, you can install the tools from https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019 then attached to the w3wp.exe from the server (will require special account on the server that has access to w3wp process). Firewall configuration needs to be done as well to free up the port that remote debugging is using.
John