mirrexagon / nixpkgs-esp-dev

Nix flake and overlay for ESP8266 and ESP32 development.
Creative Commons Zero v1.0 Universal
113 stars 52 forks source link

Use Python27 to support vscode debugger #13

Open StarGate01 opened 1 year ago

StarGate01 commented 1 year ago

The IDF vscode debugger still depends on Python 2.7: https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/DEBUGGING.md#use-the-esp-idf-debug-adapter

Unfortunately, building for 2.7 is a pain on Nix in general an using mach-nix specifically.

mirrexagon commented 1 year ago

Do you actually need Python 2.7 in this project (nixpkgs-esp-dev) specifically, or can/do you run the debug adapter separately from VSCode? The page you linked maybe implies that VSCode is responsible for launching the debug adapter, and so perhaps the environment created by nixpkgs-esp-dev wouldn't directly affect that, unless you launched VSCode inside the environment?