pylance stuck on “Searching for source files”

while using vscode, I noticed that pylance wasn’t running even after forcing pylance server restart. I checked the output logs and it was stuck at this line: solution add pyrightconfig.json on project root dir. Here is a link to github explaning about what this file is. populate exclude field with Read more…

visual code debug configuration variables

from the official docs: https://code.visualstudio.com/docs/editor/variables-reference Predefined variables The following predefined variables are supported: ${workspaceFolder} – the path of the folder opened in VS Code${workspaceFolderBasename} – the name of the folder opened in VS Code without any slashes (/) ${file} – the current opened file${fileWorkspaceFolder} – the current opened file’s workspace folder \${relativeFile} – Read more…

visual code python debugging configuration

creating the most basic launch.json file is explained well in official docs. changing execution path However what I really wanted to know was how to configure it to make it run debugging on a file from a specific directory path. For example, I have a workspace structure like this. And Read more…