Here is a version that can launch Rack in dev mode (-d
launch option). To make it work, this version expects the workspace (plugin source directory) to be within a Rack source directory, i.e. RACK_DIR=../..
, but it still actually launches a user-space Rack Pro installation.
I’m doing it this way, for now at least, because VS Code seems to have some unidentified issue actually launching a copy compiled from source. Because dev mode is used, the userland Rack winds up using the Rack source directory as both the system directory and user directory. We also get terminal (stderr) logging and a disabled library menu.
There are also still the old build/launch/debug options included, for whenever you want to test within your main Rack installation.
launch.json (3.1 KB)
tasks.json (2.0 KB)