Hi,
My goal here is to debug my plugin from vscode while having different starting setups. I’ve coded several commands in my test plugin to setup the environment and what I do (and it works) from Visual studio is to add the starting argument /runscript=“MyAwesomeCommand” in my command line arguments.
Weirdly when I do the same thing from VS Code the runscript argument is ignored by rhino. I’ve tried other starting arguments like /nosplash and it works, if I put in a file name it loads properly etc … Only runscript is ignored. Breakpoints work fine so everything is well llnked.
Do you have any clue on why this happens and how to solve the problem ? My team is switching from Visual studio to VS Code and this is the only setback we have left.
Here is my launch.json settings :
{ "name":"TestCurveEditor",
"type": "coreclr",
"request": "launch",
"program": "C:/Program Files/Rhino 8/System/Rhino.exe",
"targetArchitecture": "x86_64",
"args": ["/netcore", "/nosplash", "/runscript=\"MyCommand\""],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
"env": {"RHINO_PACKAGE_DIRS": "$(ProjectDir)$(OutputPath)\\"},
"console": "internalConsole"
}
Thanks