install ruff-vscode 2024.30.0 (which bundled with ruff 0.5)
put ruff 0.4.x in PATH
set ruff.importStrategy: useBundled and ruff.nativeServer: true
restart vscode
🐛 run command ruff.printDebugInformation
Actual
2024-06-28 13:51:00.630 [info] 1604.842777s ERROR ruff_server::server::api An error occurred with result ID 50: Invalid command `ruff.printDebugInformation`
ruff.importStrategy: useBundled
andruff.nativeServer: true
ruff.printDebugInformation
Actual
I verified vscode spawned process uses ruff 0.4.x