Skip to content

Commit

Permalink
Debug cvat-core inside cvat-ui (cvat-ai#655)
Browse files Browse the repository at this point in the history
* Added ability to debug cvat-core inside cvat-ui (use `ui.js: debug` configuration).
* Fix a codacy issue.
  • Loading branch information
nmanovic authored Aug 21, 2019
1 parent 43004c7 commit 7fb7ba1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@
"preLaunchTask": "ui.js: server",
"name": "ui.js: debug",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/cvat-ui"
"webRoot": "${workspaceFolder}/cvat-ui",
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack://cvat/./*": "${workspaceFolder}/cvat-core/*",
"webpack:///./*": "${webRoot}/*",
"webpack:///src/*": "${webRoot}/*",
"webpack:///*": "*",
"webpack:///./~/*": "${webRoot}/node_modules/*"
},
"smartStep": true,
},
{
"name": "server: django",
Expand Down Expand Up @@ -157,10 +166,6 @@
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
},
{
"type": "chrome",

}
],
"compounds": [
Expand Down
1 change: 1 addition & 0 deletions cvat-ui/public/cvat-core.min.js.map

Large diffs are not rendered by default.

0 comments on commit 7fb7ba1

Please sign in to comment.