There is no credit in situation you wrote it is 1.45 debit if stock close below 595 you will get 5 $ if above 600 you lose 1.45. In your case it is debit spread.
You sell 600 and buy 595 on July 21 then there is 2 $ credit. Hope it help.
Farooq This post is for educational and amusement purposes only, and is not to be interpreted as trading advice. Consult your financial adviser before placing any trade.