change port to 6110

This commit is contained in:
blueloveTH 2025-08-09 12:57:17 +08:00
parent 527ad85902
commit b7198b9466
2 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ void c11_dap_init_server(const char* hostname, unsigned short port) {
c11_socket_listen(server.server, 0); c11_socket_listen(server.server, 0);
printf("[DEBUGGER INFO] : listen on %s:%hu\n", hostname, port); printf("[DEBUGGER INFO] : listen on %s:%hu\n", hostname, port);
server.toclient = c11_socket_accept(server.server, NULL, NULL); server.toclient = c11_socket_accept(server.server, NULL, NULL);
printf("[DEBUGGER INFO] : connected clinet\n"); printf("[DEBUGGER INFO] : connected client\n");
} }
inline static void c11_dap_handle_message() { inline static void c11_dap_handle_message() {

View File

@ -91,7 +91,7 @@ int main(int argc, char** argv) {
} }
} else { } else {
if(profile) py_profiler_begin(); if(profile) py_profiler_begin();
if(debug) py_debugger_waitforattach("localhost", 3939); if(debug) py_debugger_waitforattach("localhost", 6110);
char* source = read_file(filename); char* source = read_file(filename);
if(source) { if(source) {