Build il2cpp generated c++ code on Linux

On windows, there is an option to generate vs file where you can run and debug the c++ generated files.
Is there something similar for Linux (i.e. how do I compile and debug the generated c++ files for Linux)?

i think you could generate il2cpp debug build? then attaching a debugger should work, as long as you have all the debug symbols in the debug build. open the c++ files you want to set breakpoint with vscode or gdb, and set a breakpoint there.

Thank you for your feedback. I’d like to build the project on Linux from the c++ files, the same way I can build it using vs from windows. Is this possible?

i’d like to understand more context. first off, there is no visual studio support on linux, so i do not think that work flow which i would assume you meant is debugging everything in some sort of ide is possible.

I meant something similar.
Basically I’d like to build from c++ source on Linux (with make for example).

not sure if i understand you correctly. you can build the source code since you already have it, you would need to write a make file if you want to customize. i guess a cmake file could be generated along the way if all possible, but i don’t think there is any yet.

When you choose windows as a target (with il2cpp active) , and check the generate visual studio files, some extra files are generated (like main, etc…). When you open the visual studio solution, you can build and run the entire game from the generated c++ code.
When you target Linux though, some of those files are missing (there is no main function for example), and there is no way to build the project from the c++ code (like a build script or a make file).
I would expect that when Linux is chosen, like its windows counterpart, complete c++ code is generated (with needed main functions, etc…) and a build script or make file to build the project in Linux.

okay, i am not aware of anything alike on linux. il2cpp codes are compiled into gameassembly.so. I do not know what apis gameassembly.so would expose to you.