If you know the BIN, you can "try" to check it here -
http://www.binbase.com/csv.php?module=search
It can tell you if the card is Debit or Credit, and also the level of card. ie, Gold or Classic etc.
The reason i say try, is that it may or may not tell you, depending on the issuing bank.