5

I am trying to console and debug the code or solidity

I am using https://remix.ethereum.org/

piash
  • 153
  • 1
  • 5

1 Answers1

13
// remix supports hardhat console.log;

// 1st import as follows
import "hardhat/console.sol";

// then to log use:
console.log("log 1")
Tanjin Alam
  • 1,728
  • 13
  • 15