We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While trying to run Scalene extension in VSCode, I received Exit Code 1. I modified extension code to see more details (https://github.com/plasma-umass/scalene-vscode-extension/blob/main/extension.js#L94). Then figured out that it has problems importing python modules from different directories. Hard coded cwd in js line 83:
Exit Code 1
const proc = child_process.spawn(executablePath, args, {"cwd":"{path to project folder}"});
For reference, my folder structure is
project dir |- sub_folder | \- file_to_profile.py \- util.py
VSCode's "Run and Debug" works fine with this structure.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While trying to run Scalene extension in VSCode, I received
Exit Code 1
. I modified extension code to see more details (https://github.com/plasma-umass/scalene-vscode-extension/blob/main/extension.js#L94). Then figured out that it has problems importing python modules from different directories.Hard coded cwd in js line 83:
For reference, my folder structure is
VSCode's "Run and Debug" works fine with this structure.
The text was updated successfully, but these errors were encountered: