This repository contains code to demonstrate the issue with debugging nameko code in Visual Studio Code.
Environment: VSCode 1.64.0
- Clone this repo
- Open Visual Studio Code, and open the workspace.code-workspace file.
- Command Palette -> Tasks: Manage Automatic Tasks in Folder -> Select Allow Automatic Tasks in Folder
- Close and Reopen Visual Studio Code.
- The automatic tasks should now run and setup a virtualenv, and install both Sources and Tests requirements. Pytest should also be configured and setup. pytest.ini and the requirements file in Tests/requirements.txt should provide information about how pytest is setup.
- On the Testing pane, test_event_interface should be visible.
- Kick off debugging the test by hitting Debug Test icon
- The debugger will hang.