Debug Odoo source code using Docker and Visual Studio Code
- Install docker
- clone
odoo-development-template
and run command
git clone https://github.com/anhvu-sg/odoo-development-template.git
cd odoo-development-template
docker-compose up -d --build
- Connect to the instance via http://localhost:8069, install
custom_module
- Active debug -> go to VSCode -> Debug -> run
Odoo: Attach
- Try to create a new res.partner