-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger doesn't appear to respect the --env CLI parameter and use per-environment globals overwriting default globals #40
Comments
If I'd ever done VSCode extension development before & knew how to test/verify my own work, and if I knew this repo was still being regularly maintained, I'd be more likely to submit a proper pull request with the bugfix myself. But for whoever's reading who is already more ready than I am to dive in right now: I think the code for the nightwatch runner you'd need to copy or adapt to the debug provider is here:
and https://github.com/nightwatchjs/nightwatch-vscode/blob/1bc3bed014b84e06f7046eebb77984318c13982a/src/NightwatchRunner/runner.ts#L102C1-L102C1 |
@NWinocur I am currently afk, but I will later post here detailed steps on how you can test or verify the changes. I would love to help you submit the PR for this issue |
How to Contribute?
TIPToggle the "Debug" mode to view verbose logs in the console. This is helpful for debugging or testing. You will see the logs in PS: I always uninstall the downloaded extension, so that it doesn't conflict with the development extension. |
I completely understand that contributing to an open source project can be a daunting task, and reproducing a bug can make things even more challenging. Please don't worry if you are not able to make it work in the first place. I want you to know that I'm here to support you every step of the way, and I'm confident that you will make progress. If you ever feel stuck, please don't hesitate to reach out to me. I'm always here to help you out. PS: Feel free to modify the above instructions, and make it beginner friendly and create a new file |
Steps to replicate:
I strongly suspect that one of the two is occurring:
nightwatch-vscode/src/NightwatchExt/debugConfigurationProvider.ts
Line 60 in 1bc3bed
The text was updated successfully, but these errors were encountered: