Page 1 of 1

VSCode configuration to compile for Linux

Posted: Fri Jan 12, 2024 5:15 pm
by Repent4
Hi,
I'm rather new to using VSCode (especially for working on ESP IDF projects) and I'm trying to understand how to set-up VSC so to easily switch between building for ESP32 and building for Linux (to run simulations).

I successfully created, built and debugged a project (the simple web server found in the examples) for ESP32 and I've also been able to run the same project after setting target to Linux but only in CLI.

My ultimate goal is to also be able to compile and debug the same project from within VSC, when built for Linux. How do I setup VSC to do so?

Thanks in advance for any help!
Andrea

Re: VSCode configuration to compile for Linux

Posted: Tue Jan 16, 2024 6:21 am
by ESP_bignacio
You can try our ESP-IDF extension and follow tutorials in our GitHub repository to how to set up

https://github.com/espressif/vscode-esp ... install.md