How can I debug JS code in CSSEdit?

Yes, it sounds silly, but I'm a designer and the site I'm working on doesn't work in CSSEdit. What's bad for me is very bad. The site has a massive JS / Ajax client and works in all browsers, IE, Firefox and Safari, which uses the same browser as CSSEdit!

Since MacRabbit has no customer service (they don't really respond to emails) this is the last resort.

Any advice would be greatly appreciated. thank.

0


source to share


1 answer


You can enable the WebKit Inspector (which includes some tools for Javascript debugging) by exiting CSSEdit, running the following command in a terminal, and restarting CSSEdit:

defaults write com.macrabbit.CSSEdit WebKitDeveloperExtras -bool YES

      

To open the WebKit inspector, right-click in the preview window and select Inspect Item.

Original post:



Your best bet (if you can't get MacRabbit support) is likely to be looking for an alternative workflow. While the CSSEdit override feature is a huge boon, it might be possible to develop CSS for an existing site using Firefox with Firebug and a Web Developer Extension .

If you have FTP access to the testing server (not the live environment), you can also remotely edit the stylesheet using CSSEdit and view your changes in another browser (all Mac FTP programs I know offer "Edit "with ..." for deleted files).

Good luck!

+3


source







All Articles