Skip to content

autoStartBrowser starts the wrong url #580

Closed
@maxschmi

Description

@maxschmi

context

I have a django app and customized my djangoadmin runserver command to also start a vite debugging server for my frontend.
Therefor when starting my debugging server I get two url's in my stdout of djangoadmin runserver.

Problem

When I want to use the autoStartBrowser:true option of my debugpy setup to automatically start a browser, it starts the wrong URL. So my vite server-URL is started in the Browser instead of my django webpage.

Sugested solution

Add an additional setting to customize the startup URL. E.g.:

"autoStartBrowser": true,
"autoStartBrowserURL": "http://localhost:8000",

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions