Skip to content

vs code: add python debug option#153

Merged
jonyMarino merged 1 commit into
mainfrom
enhacement/vs_code_add_python_debug
May 18, 2026
Merged

vs code: add python debug option#153
jonyMarino merged 1 commit into
mainfrom
enhacement/vs_code_add_python_debug

Conversation

@jonyMarino
Copy link
Copy Markdown
Contributor

Fixes: #

About

This pull request adds automated configuration for Project AirSim Python development in VS Code when generating project files for the Unreal Blocks project. The main improvements are the addition of a script to inject Python debugging settings and the integration of this script into both Windows and Linux/macOS project setup workflows.

VS Code Python development enhancements:

  • Added a new script tools/update_blocks_vscode.py that updates the .vscode/launch.json and .vscode/settings.json files to include Project AirSim-specific Python debugging configurations and sets the correct Python source path for code analysis.
  • Modified .vscode/settings.json to update the python.analysis.extraPaths entry, ensuring the correct AirSim Python source directory is used for code completion and analysis.

Integration into project setup scripts:

  • Updated unreal/Blocks/blocks_genprojfiles_vscode.bat (Windows) to call the new Python script after generating VS Code files, adding AirSim Python debug configurations if Python is available.
  • Updated unreal/Blocks/blocks_genprojfiles_vscode.sh (Linux/macOS) to similarly invoke the script, supporting both python3 and python, and providing a warning if Python is not found.

How Has This Been Tested?

Screenshots and videos (if appropriate):

@jonyMarino jonyMarino merged commit d9c3ca6 into main May 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant