How to console log in remix IDE
Asked Answered
D

1

8

I am trying to console and debug the code or solidity

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

Depot answered 1/8, 2022 at 16:26 Comment(0)
S
17
// remix supports hardhat console.log;

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

// then to log use:
console.log("log 1")
Soler answered 1/8, 2022 at 16:26 Comment(1)
in remix desktop i dont see any trace... only in my hardhat terminalSlang

© 2022 - 2024 — McMap. All rights reserved.