ab3 Posted September 23, 2019 Posted September 23, 2019 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?
deanishe Posted September 23, 2019 Posted September 23, 2019 Alfred’s debugger shows whatever your script/program writes to STDERR. Anything written to STDOUT becomes the input for the next workflow element.
ab3 Posted September 23, 2019 Author Posted September 23, 2019 thanks deanishe is there a way to write tot he debug console?
deanishe Posted September 23, 2019 Posted September 23, 2019 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.
ab3 Posted September 24, 2019 Author Posted September 24, 2019 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?
deanishe Posted September 24, 2019 Posted September 24, 2019 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.
ab3 Posted September 25, 2019 Author Posted September 25, 2019 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now