In Docker extension for VS code, the "attach visual studio code "option was also not found, and installing the "Dev Containers" solved this problem!