Further:
This method (https://stackoverflow.com/a/14962114/1328232) will not work for me as I want the file referencing method to be portable. So if I move my code directory to another Linux machine, then the code should work as is.
I used the “Linux Project Wizard” to create a new project and used all the default settings and during the “Linux computer selection” step – chose WSL and all the tests done by VisualGDB were successful.
Thanks