| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- {
- "version": "0.2.0",
- "configurations": [
- {
- "name": "Electron View",
- "type": "chrome",
- "request": "launch",
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
- "windows": {
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
- },
- "runtimeArgs": [
- "${workspaceRoot}",
- "--enable-logging",
- "--remote-debugging-port=9222"
- ],
- "webRoot": "${workspaceRoot}"
- },
- {
- "name": "Electron App",
- "type": "node",
- "request": "launch",
- "program": "${workspaceFolder}/source/app.js",
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
- "windows": {
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
- }
- },
- {
- "name": "Python Server",
- "type": "python",
- "request": "launch",
- "program": "${workspaceFolder}/publish/python.py",
- "justMyCode": true,
- "args": [
- "build",
- "start"
- ],
- "pathMappings": [
- {
- "localRoot": "${workspaceFolder}/source",
- "remoteRoot": "${workspaceFolder}/dist/pypi/netron",
- }
- ],
- "serverReadyAction": {
- "action": "debugWithChrome",
- "pattern": "Serving .*at http://localhost:([0-9]+)",
- "uriFormat": "http://localhost:%s",
- "webRoot": "${workspaceFolder}/source",
- },
- },
- {
- "name": "Test Models",
- "type": "node",
- "request": "launch",
- "program": "${workspaceFolder}/test/models.js",
- "console": "integratedTerminal",
- },
- {
- "name": "Test Backend",
- "type": "python",
- "request": "launch",
- "program": "${workspaceFolder}/test/backend.py",
- "console": "integratedTerminal",
- "justMyCode": false,
- "serverReadyAction": {
- "action": "debugWithChrome",
- "pattern": "Serving .*at http://localhost:([0-9]+)",
- "uriFormat": "http://localhost:%s",
- "webRoot": "${workspaceFolder}/source",
- },
- },
- {
- "name": "Tools Python",
- "type": "python",
- "request": "launch",
- "program": "${file}",
- "console": "integratedTerminal",
- "justMyCode": false
- }
- ]
- }
|