Is there a way to increase the character limit when viewing the variables while debugging? I can't view the entire string because it's very long.
CodePudding user response:
See this ref.
In launch.json
:
{
"version": "0.2.0",
"configurations": [
{
...
"xdebugSettings": {
"max_data": 1500 //set a proper number.
}
}]
}
Note: Large max_data
number may stuck IDE. Could print the variable in terminal using this way.