Question by
Dizamok · Oct 07, 2016 at 10:53 AM ·
build settingsdebugging
Modify 'Copy PDB Files' via code ?
In the "Build Settings" window there is a checkbox for "Copy PDB Files". How can I modify this option via code? I can't find it in EditorUserBuildSettings, EditorBuildSettings or BuildOptions.
I'm using Unity 5.4.0p4.
Comment
Answer by TimHeijden · Nov 19, 2016 at 04:29 PM
Might be a bit late, but:
bool yourValue = true;
EditorUserBuildSettings.SetPlatformSettings("Standalone", "CopyPDBFiles", yourValue);
Your answer
Follow this Question
Related Questions
How to pause the Unity editor while at a debug breakpoint 2 Answers
What causes a Debug.Log print command to not display on the editor console? 0 Answers
GraphicRaycaster.Raycast ArgumentOutOfRangeException 0 Answers
Game launches, but shows only MainCamera color? 0 Answers
Unable to build in Unity 5.5.0b 1 Answer