Is it possible with Hardhat to launch a script, wait for its completion (or an error), and then jump into the console, with access to the current environment variables?
When using eth-brownie, or python in general, you can add the -i flag to achieve this. Does the equivalent exist with node/hardhat? If yes, how to do it?