问题
I know I can set custom run commands for running which includes setting the working directory but I cannot seem to find the setting to set the working directory when debugging. Any ideas?
回答1:
The debugger uses the same working directory that "Run" uses.
回答2:
To set a working directory in "Run" or "Debug" mode :
- in "Project Options", add a "Run/Custom Command" with type "Execute"
- set the command: ${TargetFile}
- set your working directory
来源:https://stackoverflow.com/questions/8186009/monodevelop-on-mac-how-to-i-set-the-working-directory-for-debugging