Merge pull request #54 from electron-vite/fix/220801-debug
The task 'start .debug.script.mjs' cannot be tracked | Cannot connect to the target at localhost:9229
This commit is contained in:
		
						commit
						3efcb1a27d
					
				| 
						 | 
					@ -38,7 +38,8 @@
 | 
				
			||||||
      "name": "Debug Renderer Process",
 | 
					      "name": "Debug Renderer Process",
 | 
				
			||||||
      "port": 9229,
 | 
					      "port": 9229,
 | 
				
			||||||
      "request": "attach",
 | 
					      "request": "attach",
 | 
				
			||||||
      "type": "pwa-chrome"
 | 
					      "type": "pwa-chrome",
 | 
				
			||||||
 | 
					      "timeout": 60000
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,23 @@
 | 
				
			||||||
      "type": "shell",
 | 
					      "type": "shell",
 | 
				
			||||||
      "command": "node .vscode/.debug.script.mjs",
 | 
					      "command": "node .vscode/.debug.script.mjs",
 | 
				
			||||||
      "isBackground": true,
 | 
					      "isBackground": true,
 | 
				
			||||||
      "problemMatcher": []
 | 
					      "problemMatcher": {
 | 
				
			||||||
 | 
					        "owner": "typescript",
 | 
				
			||||||
 | 
					        "fileLocation": "relative",
 | 
				
			||||||
 | 
					        "pattern": {
 | 
				
			||||||
 | 
					          "regexp": "^([a-zA-Z]\\:\/?([\\w\\-]\/?)+\\.\\w+):(\\d+):(\\d+): (ERROR|WARNING)\\: (.*)$",
 | 
				
			||||||
 | 
					          "file": 1,
 | 
				
			||||||
 | 
					          "line": 3,
 | 
				
			||||||
 | 
					          "column": 4,
 | 
				
			||||||
 | 
					          "code": 5,
 | 
				
			||||||
 | 
					          "message": 6
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "background": {
 | 
				
			||||||
 | 
					          "activeOnStart": true,
 | 
				
			||||||
 | 
					          "beginsPattern": "^.*building for development.*$",
 | 
				
			||||||
 | 
					          "endsPattern": "built in [0-9]*ms.*$",
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue