2022-08-09 06:06:32 +00:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "InvenTree Server",
|
2024-07-24 02:36:02 +00:00
|
|
|
"type": "debugpy",
|
2022-08-09 06:06:32 +00:00
|
|
|
"request": "launch",
|
2024-04-03 01:16:59 +00:00
|
|
|
"program": "${workspaceFolder}/src/backend/InvenTree/manage.py",
|
2024-07-24 02:36:02 +00:00
|
|
|
"args": [
|
|
|
|
"runserver",
|
|
|
|
// "0.0.0.0:8000", // expose server in network (useful for testing with mobile app)
|
|
|
|
// "--noreload" // disable auto-reload
|
|
|
|
],
|
|
|
|
"django": true,
|
|
|
|
"justMyCode": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "InvenTree Server - Tests",
|
|
|
|
"type": "debugpy",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/src/backend/InvenTree/manage.py",
|
|
|
|
"args": [
|
|
|
|
"test",
|
|
|
|
// "part.test_api.PartCategoryAPITest", // run only a specific test
|
|
|
|
],
|
2022-08-09 06:06:32 +00:00
|
|
|
"django": true,
|
|
|
|
"justMyCode": true
|
|
|
|
},
|
|
|
|
{
|
2024-02-28 04:04:14 +00:00
|
|
|
"name": "InvenTree Server - 3rd party",
|
2024-07-24 02:36:02 +00:00
|
|
|
"type": "debugpy",
|
2022-08-09 06:06:32 +00:00
|
|
|
"request": "launch",
|
2024-04-03 01:16:59 +00:00
|
|
|
"program": "${workspaceFolder}/src/backend/InvenTree/manage.py",
|
2024-07-24 02:36:02 +00:00
|
|
|
"args": [
|
|
|
|
"runserver"
|
|
|
|
],
|
2022-08-09 06:06:32 +00:00
|
|
|
"django": true,
|
|
|
|
"justMyCode": false
|
2024-02-02 01:02:55 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "InvenTree Frontend - Vite",
|
|
|
|
"type": "chrome",
|
|
|
|
"request": "launch",
|
|
|
|
"url": "http://localhost:5173",
|
|
|
|
"webRoot": "${workspaceFolder}/src/frontend"
|
2022-08-09 06:06:32 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|