My specific question is related to MicroPython development on Pycom's GPY with Pytrack expansion board. I also have Pycom's Pymakr extension for VSCode installed as well. But I feel the question can be asked and answered more generally and I'll try to do that...
When doing development on Micropython, you will have application specific libraries that you load from ./lib
but you also load system libraries such as import [ pycom | pyboard | your_board ]
which are not available to VSCode since they are not in your workspace folders, but they are available at runtime on the board.
How do you make these available to VSCode so IntelliSense will work correctly AND you won't see import errors in VSCode?