I like using VSCode to do my coding as it feels less overwhelming than with IDEs like Visual Studio or XCode. As a beginner, perhaps I shouldn’t, but still… Either way, I’ve set up my launch.json and tasks.json as follows:
I can’t seem however to be able to print stuff to console, either with std::cout or using the DBG macro. As for the CMakeLists.txt file, I’m simply using a slightly modified version of the AudioPlugin example at github.
I know I have to be missing something, but I’m not sure where to start looking, any help will be appreciated!
I do have the C/C++ Extension Pack installed. I had the CMake Tools extension disabled though, I remember finding it rather cumbersome for reasons I no longer remember, but I should probably give that a try again, thanks for the link!
I struggled to get it to play nicely to start with too, but starting from scratch and following the various guides online I managed to get it working fairly well.
I realized I originally copy-pasted the tasks.json file twice, I’ve edited to show the launch.json file now too. Also answering your question, I’m using the standalone version and JUCE’s AudioPluginHost.
I fixed it! All I had to do was add set(CMAKE_BUILD_TYPE Debug) in CMakeLists.txt (which of course would need to be set to Release when the time came), and then adjust the path in launch.json to