Home > other >  Nodejs debugging c extensions, could not see a variable's value
Nodejs debugging c extensions, could not see a variable's value

Time:11-14

As shown in the figure below, what is this excuse me?



Use the node - 16 rebuild gyp - j - the debug command

Attached c_cpp_properties. Json
 
{
"Configurations:" [
{
"Name" : "Win32",
"IncludePath" : [
"${workspaceFolder}/* *"
],
"Defines" : [
"_DEBUG,"
"UNICODE",
"_UNICODE
"],
"WindowsSdkVersion" : "10.0.18362.0,"
"CompilerPath" : "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl. Exe",
"CStandard" : "c17,"
"CppStandard" : "c + + 17,"
"IntelliSenseMode" : "MSVC - x64,"
"CompilerArgs" : [
"- fstandalone - debug
"]
}
],
"Version" : 4
}

CodePudding user response:

Done, in a type line, "type" : "CPPVSDBG"
  • Related