Is there anyway to use the emscripten 'emrun' utility to launch emscripten apps from within CLion?
I've tried changing the 'Executable' setting in the Run/Debug configuration to 'Custom Executable' and entering the full path to emrun for the custom executable path, but I then get this error:
"/home/marksibly/dev/emsdk/upstream/emscripten/emrun": not in executable format: file format not recognized
I assume this is because emrun is a script file, not a native executable , so I tried adding bash at the front but that results in:
File 'bash /home/marksibly/dev/emsdk/upstream/emscripten/emrun' not found in directory '/home/marksibly/dev/sgf/cmake-build-emscripten' Please specify working directory, or use absolute path for executable
Any other ideas?