First time here? Check out the FAQ!

Revision history  [back]

In Django projects created with New Project the main entry point is set to manage.py, which I think is why it's launching that. You have to bring up the test file in the editor and use Debug Current File from the Debug menu, or you can create a Named Entry Point that pairs the test file with the launch configuration you have created and then launch that.

Note that using Debug Current File will only work if you set the launch configuration as the one to use in the File Properties for your test file, but if I'm understanding your question correctly then you have already one that and it's just a question of telling Wing to run the test file and not the main entry point.

Also, if this test file shows up in the Testing tool then you can also debug it from there.