changeset 1231:c0cec4659784 project-file-rework

Fix maddening failure to start server with space in its path
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 25 Oct 2016 21:06:38 +0100
parents 9ae2ce9190e6
children f350af2b542d
files plugin/PluginScan.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugin/PluginScan.cpp	Tue Oct 25 11:04:26 2016 +0100
+++ b/plugin/PluginScan.cpp	Tue Oct 25 21:06:38 2016 +0100
@@ -23,10 +23,15 @@
 
 using std::string;
 
+//#define DEBUG_PLUGIN_SCAN 1
+
 class PluginScan::Logger : public PluginCandidates::LogCallback
 {
 protected:
     void log(std::string message) {
+#ifdef DEBUG_PLUGIN_SCAN
+        cerr << "PluginScan: " << message;
+#endif
         SVDEBUG << "PluginScan: " << message;
     }
 };