Description
When following the Run your app using Visual Studio Code section in the README, the VS Code task/debug flow fails because the configured working directory is incorrect.
After opening the src folder in VS Code and running the provided task/debug flow, VS Code shows this error:
The terminal process failed to launch: Starting directory (cwd) "D:\workcode\awesomeTemplate\functions-quickstart-python-azd-timer\src\src" does not exist.
Root cause: The repository instructions say to open the src app folder in VS Code.
However, the VS Code task configuration appears to use:
"cwd": "${workspaceFolder}/src"
If the workspace root is already the src folder, this resolves to .../src/src, which does not exist.
Steps to Reproduce
- Run command
azd init --template functions-quickstart-python-azd-timer
- Open the
src app folder in a new terminal.
- Run the
code . command to open the project in Visual Studio Code.
- In the command palette (F1), type
Azurite: Start, which enables debugging without warnings.
- Press Run/Debug (F5) to run in the debugger. Select Debug anyway if prompted about local emulator not running.
Environment
Expected Behavior
The "Run your app using Visual Studio Code" flow works successfully.
@im-samz, @hemarina for notification.
Description
When following the
Run your app using Visual Studio Codesection in the README, the VS Code task/debug flow fails because the configured working directory is incorrect.After opening the
srcfolder in VS Code and running the provided task/debug flow, VS Code shows this error:Root cause: The repository instructions say to open the src app folder in VS Code.
However, the VS Code task configuration appears to use:
If the workspace root is already the src folder, this resolves to .../src/src, which does not exist.
Steps to Reproduce
azd init --template functions-quickstart-python-azd-timersrcapp folder in a new terminal.code .command to open the project in Visual Studio Code.Azurite: Start, which enables debugging without warnings.Environment
Expected Behavior
The "Run your app using Visual Studio Code" flow works successfully.
@im-samz, @hemarina for notification.