set_breakpoint_by_script_id
Set a breakpoint in a specific script by CDP scriptId and line number to pause execution for debugging WeChat Mini Programs.
Instructions
Set a breakpoint by CDP scriptId and zero-based line/column.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"script_id": "<script_id>",
"line_number": "<line_number>"
},
"name": "set_breakpoint_by_script_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | No | ||
| script_id | Yes | ||
| line_number | Yes | ||
| column_number | No |