https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2018-07-23T09:30:15ZCeph Dashboard - Bug #24940: mgr/dashboard: How to interactively debug frontend unit testshttps://tracker.ceph.com/issues/24940?journal_id=1175202018-07-23T09:30:15ZTiago Melo
<ul></ul><p>I have been using the VS Code plugin to debug the tests.<br />When I want to debug a test it will run the following command:<br /><pre><code class="text syntaxhl"><span class="CodeRay">cd ~/workspace/ceph/src/pybind/mgr/dashboard/frontend ; env "CI=vscode-jest-tests" ~/.nvm/versions/node/v8.11.3/bin/node --inspect-brk=21089 node_modules/jest/bin/jest.js --runInBand dashboard.service.spec.ts --testNamePattern "should call getHealth"
Debugger listening on ws://127.0.0.1:21089/fa93aab8-641c-4ef0-b638-8430f5a1c50e
For help see https://nodejs.org/en/docs/inspector
Debugger attached.
</span></code></pre></p> Dashboard - Bug #24940: mgr/dashboard: How to interactively debug frontend unit testshttps://tracker.ceph.com/issues/24940?journal_id=1629412020-04-09T14:16:59ZTiago Melo
<ul><li><strong>Assignee</strong> deleted (<del><i>Tiago Melo</i></del>)</li></ul> Dashboard - Bug #24940: mgr/dashboard: How to interactively debug frontend unit testshttps://tracker.ceph.com/issues/24940?journal_id=1638952020-04-23T13:24:08ZErnesto Puerta
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul> Dashboard - Bug #24940: mgr/dashboard: How to interactively debug frontend unit testshttps://tracker.ceph.com/issues/24940?journal_id=1918572021-04-15T17:30:06ZErnesto Puerta
<ul><li><strong>Project</strong> changed from <i>mgr</i> to <i>Dashboard</i></li><li><strong>Category</strong> changed from <i>132</i> to <i>General</i></li></ul>