vscode-leetcode-cpp-debug
vscode-leetcode-cpp-debug copied to clipboard
command not escaped
System:
Version: 1.63.2
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:38:17.605Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin arm64 21.5.0
Error Output:
➜ .leetcode cd ~/.leetcode ; /usr/bin/env /opt/homebrew/bin/python3 ~/.vscode/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/launcher 51786 -- "~/Library/Application Support/Code/User/globalStorage/wangtao0101.debug-leetcode/python3problem121.py" ~/.leetcode/src/Q121bestTimeToBuyAndSellStock.py [7,1,5,3,6,4] maxProfit number[] number 121 51259
zsh: no matches found: [7,1,5,3,6,4]
The generated command line should escape the test case.
Hi, I don't think this issue is caused by this plug-in, could you help to try:
- Disable "Delete Temporary Contents" in the extension setting
- Run the debug command provided by this plug-in and then you should be able to see a temporary file named "leetcode-main.cpp"
- Debug the "leetcode-main.cpp" with your usual debugging process to see if the issue still exist