Closed chagelo closed 3 weeks ago
Hi, could you share more context like what's your C++ dev env, and what code you was running the debug tool.
Sorry for replying so late. I use this extension in windows11, my compiler is mingw g++, my code is just an empty leetcode problem.
I tried this in my local env (followed this to set up mingw g++), it works well for me.
You can try below steps:
Also, one more possible issue is the you may need to add return 0;
to function maxSumDivThree
.
Sorry for replying so late. I use this extension in windows11, my compiler is mingw g++, my code is just an empty leetcode problem.
ctrl+shift+p
.ctrl+shift+p
it does not work.It's a little bit confusing me on if the temporary files can be generated or not. Correct me if my understanding is wrong:
#include "leetcode-definition.h"
to your 1262.可被3整除的最大和.cpp
and then start VSCode debugging on leetcode-main.cpp
as it containing main
function so that we can know if the VSCode debugging is not working or the debugger can not trigger the VSCode debugging process.ctrl+shift+P
, could you share the error message if possible. A possible reason is that the file name like 1.两数之和
is containing Chinese characters, you can try to set the value of conifgOutput File Encoding to "gbk".Both has no temporary files generated.
Have the same Fetch problem failed: Request connect error.
in my another pc, Ubuntu 22.04, I just tried several minutes ago.
It means you have network issue, have you checked the config Source
? Try to switch it to CN leetcode endpoint or just use local.
Ok, it works well after I switch the Source
to local. 😂
Thank you for your help.
When press ctrl+shift+p, select
LeetCode Debugger: Start Debugging
and run, no reaction. It does not generate any files in current directory, I have setdelete temporay files
to false.