Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Fix Debug Transaction command when Truffle config does not follow default name #256

Open
acuarica opened this issue Nov 12, 2022 · 0 comments
Labels
bug Something isn't working priority2 ⚠️

Comments

@acuarica
Copy link
Contributor

Whenever there is a Truffle workspace open that does not follow the default Truffle config file name, i.e., truffle-config.js,
the Truffle: Debug Transaction command fails with

ENOENT: no such file or directory, open '/[...]/truffle-config.js'

For example,

truffle-sample-project-1668278503546

In this workspace, we have two Truffle config files, truffle-config.1.js and truffle-config.2.js. However, the after Debug Transaction command allows the user to select any of those, it fails with the aforementioned error.

Expected behavior

After the user selects any of those Truffle config files, the Debugger uses that selection to proceed with the debugging process.

@acuarica acuarica added the bug Something isn't working label Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working priority2 ⚠️
Projects
None yet
Development

No branches or pull requests

2 participants