You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it's not possible to debug CVAT in containers. It becomes the real problem when we try to debug a failing test from the REST API test suite, because it requires special environment setup and data on the instance.
It allows you to use VS Code tasks to debug server deployed with docker. In this branch, you need to launch containers with the following command: CVAT_DEBUG_ENABLED=yes docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build. After rebuild, it is possible to join to the server application (a queue processor or the server itself) in a container using VS Code tasks. You need to specify correct paths in you environment in the task configurations. To debug, just run the server, put regular breakpoints in the code and connect to the running sever with the task in VS Code.
The text was updated successfully, but these errors were encountered:
Currently, it's not possible to debug CVAT in containers. It becomes the real problem when we try to debug a failing test from the REST API test suite, because it requires special environment setup and data on the instance.
Possible implementation
It allows you to use VS Code tasks to debug server deployed with docker. In this branch, you need to launch containers with the following command: CVAT_DEBUG_ENABLED=yes docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build. After rebuild, it is possible to join to the server application (a queue processor or the server itself) in a container using VS Code tasks. You need to specify correct paths in you environment in the task configurations. To debug, just run the server, put regular breakpoints in the code and connect to the running sever with the task in VS Code.
The text was updated successfully, but these errors were encountered: