Thanks for submitting a pull request! I got the notification. Can't wait to check it out when I get home from work a little later.
I'm curious about your problem now with subdirectories. If you notice my previous post, I was able to get it working with a subdirectory under the root. I wonder if it's IIS specific.
Debugging is a little tricky. Let me see if I can break it down for you. There are 3 distinct components,
- The Tincr panel in the devtools, this handles configuration and interacting with the devtools. This handles the logic of updating the scripts and stylesheets in the browser and listening for when someone edits something in devtools.
- The background page, this handles the logic of when and where to do native file operations. This is where the logic of the configuration you choose in the Tincr devtools panel actually happens.
- NPAPI File API. This is the native (C++) dll that actually reads and writes files from your local filesystem. It talks exclusively to the background page.
To debug #1, you will need to debug the devtools. You can do this by opening the devtools from inside the devtools. On Mac OS X, I do this by either hitting CMD+SHIFT+I (maybe ctrl+shift+I for Windows) or going to View->Developer Tools.
To debug #2, you can inspect the background page from the extensions panel if you have developer mode turned on.
To debug #3, you will need Visual Studio (C++). You probably don't want to worry about this piece.
One problem you may be running into is that the background page and devtools panel run in separate processes. Therefore, to follow the complete code path, you would need to have 2 debuggers open. The background page and devtools panel communicate in a way similar to ajax requests. I didn't choose to implement it this way. This is a result of the security restrictions of the Chrome platform.
While debugging, you should be able to "Step Into" a function call to follow the code path across multiple files. The only times you should be running into a black box situation is where it makes calls to the NPAPI dll. These calls are easily recognizable because they are all made on the "nativeFileSupport" object.