Thanks Adrian,
Yes, I did all this. The OS is Windows 2012 R2 64 bit.
I am logging in using postgres user, which is the super user for the database.
The shared_preload_libraries = '$libdir/plugin_debugger' (The dll resides in the "lib" directory)
I restarted the server by restarting the service "postgresql-x64-9.6 - PostgreSQL Server 9.6"
Here is the screenshot of the right hand pane when:
1. I select a plpgsql function
2. right click and select Debugging > Debug
3. Fill in the parameter values in the pop up
Thanks,
Shakti Singh