Jump to content

Swift Hook to Alfred Debugger


Recommended Posts

Posted

I have been making work flow snippets in swift. They work great. How ever I was wondering if there was a way to connect to the Alfred debugger. I want to see print statements and errors in the debugger. 

 

Any guidance would be appreciate.

 

On a secondary note I have made some Run scripts that I reuse. Is there a way to rename the run script GUI so I can see which is which without having to lock at my comments?

Posted

Alfred’s debugger shows whatever your script/program writes to STDERR.

 

Anything written to STDOUT becomes the input for the next workflow element.

Posted
8 minutes ago, ab3 said:

is there a way to write tot he debug console?

 

The debugger shows whatever your program writes to STDERR, so write your log messages to STDERR.

Posted
22 hours ago, deanishe said:

 

The debugger shows whatever your program writes to STDERR, so write your log messages to STDERR.

 

Perfect thanks got that working now. Some how missed that in your original response. DOH! You are a legend :)

 

Any chance you know how to customise the Run Script icon so I can give each reusable run scripts unique name or icon?

 

 

Posted
5 hours ago, ab3 said:

Any chance you know how to customise the Run Script icon so I can give each reusable run scripts unique name or icon?

 

Can't be done. You can change the colour of the element and edit its note, but you can't change its name or icon.

Posted
18 hours ago, deanishe said:

 

Can't be done. You can change the colour of the element and edit its note, but you can't change its name or icon.

 

Don't know how I missed the colous works a treat thanks :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...