Application development under WSLv2/vscode

Peter Balazovic <balazovic.peter@...>

Hello all,

I'm using Windows Subsystem for Linux, where I have Yocto build project. I'm using VS Code trying to compile but I use "source environment ..." to activate the SDK. How to activate the "source environment ..." automatically either during the start WSLv2 or before VSCode build (Configure Build Task)?

Thank you.